#if !defined(AFX_GAQUEEN_H__C26AE0A3_F9B4_426F_A324_B460CC7946CB__INCLUDED_)
#define AFX_GAQUEEN_H__C26AE0A3_F9B4_426F_A324_B460CC7946CB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CGAQueen
{
public:
CGAQueen(int nPopulation,int nIteration,float Mutation,int mChBoard)
virtual ~CGAQueen()
void Clear() // to clear chess board with 0 value
void InitialPopulation() // to create the first and initial randompopulation
void FillArea(int index) // to fill chess board with desired chromosome
int CostFunc(int index) // determine the cost of matrix[index][index]
void PopulationSort() // to sort population from the best to the worst
void GenerateCrossOverMatrix() // a way to create children from parent is CcrossOver
void Mating() // to create children from parents
void Ap
This a translation of the ToyFDTD c code available from the web site
http://www.borg.umn.edu/toyfdtd/ToyFDTD1.html
This some optimization to use MATLAB matrix notation. Others may find a way to further optimize the nested loops.
Solving Engineering Problems Using MATLAB C++ Math Library Introduction
In the previous article, we studied how can use MATLAB C API to solve engineering problems. In this article I will show you how can use MATLAB C++ math library. The MATLAB® C++ Math Library serves two separate constituencies: MATLAB programmers seeking more speed or complete independence from interpreted MATLAB, and C++ programmers who need a fast, easy-to-use matrix math library. To each, it offers distinct advantages.
PCA and PLS aims:to get some
insight into the bilinear factor models Principal Component Analysis
(PCA) and Partial Least Squares (PLS) regression, focusing on the
mathematics and numerical aspects rather than how s and why s of
data analysis practice. For the latter part it is assumed (but not
absolutely necessary) that the reader is already familiar with these
methods. It also assumes you have had some preliminary experience
with linear/matrix algebra.
A Numerical Photonics library written in C++. The library includes beam propagation method, coupled mode method, Bragg Gating Analysis, transfer matrix method, and vectorial Fourier Decomposition method. Very useful in simulating integrated Photonic devices
PartiTek SDK
PartiTek Software Inc. is a professional image processing and barcode software development company that produces the SDK to encode & decode PDF417, QR Code, Data Matrix . By using PartiTek software, our users have successfully leveraged many years of university level research into their products, gaining increased reading accuracy and simple barcode creation.
QRcode modules FOR Linux.
I wrote this code early this year using ColdFire MCF5213 in codewarrior IDE. The LCD is STN B/W 320x240 dot matrix LCD. The code include 3 different fonts, and basic LCD driver. All original!
map identification laquo yuan Problem description : the digital image processing of an image often expressed as a macute M pixel matrix. Each pixel value is 0 or 1. The value of 0 pixel image, said background, and the value of a pixel image, said a map of a million, usually called map million pixels. When a pixel in another pixels above, below, left or right, said that two adjacent pixels of the pixel. An image of the pixels belonging to the same map yuan, instead of adjacent pixels belonging to different map yuan. Figure yuan identification of problems is right for the given image pixel map marking yuan, making the same map billion yuan pixel map of the same markings and different map billion yuan pixel map of their marks are different. Trial queue abstract data type design solut