ECF
1.5
D:
Projekt
ECF_trunk
ECF
binary
BinaryCrsHalfUniform.h
1
#ifndef BINARYHALFUNIFORMCRS_H_
2
#define BINARYHALFUNIFORMCRS_H_
3
4
5
namespace
Binary
6
{
7
12
class
BinaryCrsHalfUniform
:
public
CrossoverOp
13
{
14
public
:
15
bool
mate
(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
16
bool
initialize
(StateP);
17
void
registerParameters
(StateP);
18
};
19
typedef
boost::shared_ptr<BinaryCrsHalfUniform> BinaryCrsHalfUniformP;
20
}
21
22
#endif
/* BINARYHALFUNIFORMCRS_H_ */
23
Binary::BinaryCrsHalfUniform
Binary genotype: half uniform crossover operator.
Definition:
BinaryCrsHalfUniform.h:13
Binary::BinaryCrsHalfUniform::registerParameters
void registerParameters(StateP)
Register parameters with the system. Called before CrossoverOp::initialize.
Definition:
BinaryCrsHalfUniform.cpp:7
Binary::BinaryCrsHalfUniform::initialize
bool initialize(StateP)
Initialize crossover operator. Called before first crossover operation.
Definition:
BinaryCrsHalfUniform.cpp:13
Binary::BinaryCrsHalfUniform::mate
bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child)
Definition:
BinaryCrsHalfUniform.cpp:21
CrossoverOp
CrossoverOp base class.
Definition:
Crossover.h:19
Generated on Wed Aug 3 2022 17:50:40 for ECF by
1.9.4