示例#1
0
文件: GAGenome.C 项目: pemryan/GAlib
int
GAGenome::NoMutator(GAGenome & c, float)
{
    GAErr(GA_LOC, c.className(), "mutator", gaErrOpUndef);
    return 0;
}
示例#2
0
文件: GAGenome.C 项目: pemryan/GAlib
float
GAGenome::NoComparator(const GAGenome& c, const GAGenome&)
{
    GAErr(GA_LOC, c.className(), "comparator", gaErrOpUndef);
    return -1.0;
}
示例#3
0
文件: GAGenome.C 项目: pemryan/GAlib
///   These are the default genome operators.
/// None does anything - they just post an error message to let you know that no
/// method has been defined.  These are for the base class (which has no
/// function by itself).
void
GAGenome::NoInitializer(GAGenome & c)
{
    GAErr(GA_LOC, c.className(), "initializer", gaErrOpUndef);
}