Eclat Algorithm Implementation
This is a signals implementation for python. It is similar to the pydispatch module. This implementation enables you to create Signals as members of classes, as globals, or as locals. You may connect any number of functions or class methods to any signal. Connections manage themselves with the...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): Maintenance-free Signals implementation Download |
This script separates pattern implementation from your code so that you can reuse the implementation elsewhere. It is an example that shows a reusable implementation of the Observer pattern.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Separating Pattern Implementation from Your Code Download |
This script is an implementation of a round-robin algorithm for "fair" pairing of items from a list. The function produces a schedule of the pairings that can occur simultaneously.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Round-Robin Pairings Generator Download |
This SMAWK algorithm takes as input a function for computing matrix values, and searches for the position of maximum value in each row. The matrix must satisfy the "totally monotone" property: in each submatrix (in particular each 2x2 submatrix) the positions of the maxima must move leftward as...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): SMAWK totally monotone matrix searching algorithm Download |
Maximal independent sets come in handy for certain applications. The Bron-Kerbosch algorithm is a well-known algorithm for listing all the maximal independent sets.It is used for finding maximal cliques or finding the maximal independent sets in the complementThis file is an implementation of...
Platforms: Windows, Mac, *nix, Matlab, BSD Solaris
License: Freeware | Download (51): Bron-Kerbosch Maximal Independent Set Algorithm Download |
This is a complete Tictactoe game, it includes many functionalities, you can play games against another human, you can play against the computer, you can also even let the computer play against itself.The A.I is very good, actualy it is unbeatable, the most you can do is to draw the games. Also,...
Platforms: C and C plus plus
License: Freeware | Size: 10 KB | Download (52): Advanced TicTacToe game Script Download |
this algorithm predicts the received signal strength for the mobile user to avoid fluctuation in received signal strength during localization of the mobile user(finding mobile user's location)
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): Grey prediction algorithm for mobile user localization Download |
Given adjacent matrix (transmat) and starting/ending node (pathS, pathE), this function finds the shortest-path (path) that connecting pathS and pathE, and returns the cost (cost):[path, cost]=dijkstra(pathS, pathE, transmat);NOTE: Except for the simple interface, the pathS and pathE can be the...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (43): Dijkstra Algorithm Consistent with Cyclic Paths Download |
A fast vectorized implementation of the ncc that handles color (3 channel) images as well as gray level.The algorithm for colored images is based on the ncc formulation for vector valued functions.Note: A bug that I found in the normxcorr2 was also fixed here.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Fast normalised cross correlation for gray-level and color images Download |
Derives the transfer function for digital implementation of a first order RC low pass filter and plots the step and frequency response.For details, refer to the post:http://www.dsplog.com/2007/12/02/digital-i...ow-pass-filter/
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Digital implementation of RC low pass filter Download |
NSGA-II is a very famous multi-objective optimization algorithm. I submitted an example previously and wanted to make this submission useful to others by creating it as a function. Even though this function is very specific to benchmark problems, with a little bit more modification this can be...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): NSGA - II: A multi-objective optimization algorithm Download |
Gravitational search algorithm (GSA) is an optimization algorithm based on the law of gravity and mass interactions.This algorithm is based on the Newtonian gravity: "Every particle in the universe attracts every other particle with a force that is directly proportional to the product of their...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (52): Gravitational Search Algorithm (GSA) Download |
In many practical signal processing problems, the objective is to estimate from measurements a set of constant parameters upon which the received signals depend.For example, high-resolution direction-of-arrival (DOA) estimation is important in many sensor systems such as radar, sonar, electronic...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Direction of Arrival Estimation with MUSIC Algorithm Download |
The function LMFsolve.m serves for finding optimal solution of an overdetermined system of nonlinear equations in the least-squares sense. The standard Levenberg- Marquardt algorithm was modified by Fletcher and coded in FORTRAN many years ago. LMFsolve is its essentially shortened version...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): LMFsolve.m: Levenberg-Marquardt-Fletcher algorithm for nonlinear least squares problems Download |
findMIS is an heuristic algorithm for solving Maximum Independent Set problem (MIS).An independent set of a graph is a subset of vertices in which no two vertices areadjacent. Given a set of vertices, the maximum independent set problem callsfor finding the independent set of maximum...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Heuristic Algorithm for finding Maximum Independent Set Download |
We use the genetic algorithm (gatool) to determine the four parameters of the implicit Forst-Kalkwarf-Thodos Model. Predictions are in perfect agreement with data of vapour pressure of iodobenzene versus temperature for a temperature range from 380.15 K to 580.15 K.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Model Determination using Genetic Algorithm: Forst-Kalkwarf-Thodos Model Download |
This algorithm will accept a Latitude, Longitude and Altitude location as well as a specific universal coordinated time. It will use this information and calculate the position of the moon in a local coordinate frame (az and alt aka az and el).Example Function Call:[Az El] = LunarAzEl('1991/05/19...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Lunar Azimuth and Altitude Estimation Algorithm Download |
This algorithm deal with multimodal optimization problems under constraints.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): ClonalG Immune Algorithm for Optimiation with Constraints Download |
These files are the MATLAB code for "Imperialist Competitive Algorithm (ICA)" which in some papers is referred by "Colonial Competitive Algorithm CCA".Evolutionary optimization methods, inspired from natural processes, have shown good performance in solving complex optimization problems. For...
Platforms: Matlab
License: Freeware | Size: 450.56 KB | Download (44): Colonial Competitive Algorithm (CCA) Download |
It's a deterministic iterative zero order algorithm that can be used to solve unconstrained optimization problem. It finds the relative minimum of a two variables function with a deterministic iterative zero order algorithm. Pattern search method It finds the relative minimum of a two variables...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): Pattern search method: deterministic iterative zero order algorithm Download |