Crossover_nPoint< T > Class Template Reference

Implementation of n-point crossover (applicable for both binary/real-coded). More...

#include <Crossover_nPoint.h>

Inheritance diagram for Crossover_nPoint< T >:

Crossover< T >

List of all members.

Public Member Functions

 Crossover_nPoint (int nPoints, double pCrossover)
 Write brief comment for Crossover_nPoint here.
virtual bool cross (Chromosome< T > &dad, Chromosome< T > &mom)
 Implementation of the crossover strategy.


Detailed Description

template<typename T>
class Crossover_nPoint< T >

Implementation of n-point crossover (applicable for both binary/real-coded).

<File comment goes here!!>

Copyright (c) 2008 by <Quang Huy / NTU>


Constructor & Destructor Documentation

template<typename T>
Crossover_nPoint< T >::Crossover_nPoint ( int  nPoints,
double  pCrossover 
) [inline]

Write brief comment for Crossover_nPoint here.

Parameters:
nPoints Number of crossing points.
pCrossover Crossover probability.
See also:
CrossOver | Crossover_Uniform


The documentation for this class was generated from the following file:

Generated on Thu Aug 28 18:34:39 2008 for Dolphin by  doxygen 1.5.6