EvolvingObjects
eoSharing< EOT > Class Template Reference

Sharing is a perf2worth class that implements Goldberg and Richardson's basic sharing see eoSharingSelect for how to use it and test/t-eoSharing.cpp for a sample use of both. More...

#include <eoSharing.h>

Inheritance diagram for eoSharing< EOT >:
eoPerf2Worth< EOT > eoUF< const eoPop< EOT > &, void > eoValueParam< std::vector< double > > eoFunctorBase unary_function eoParam

List of all members.

Public Member Functions

 eoSharing (double _nicheSize, eoDistance< EOT > &_dist)
void operator() (const eoPop< EOT > &_pop)
 Computes shared fitnesses.

Private Attributes

double nicheSize
eoDistance< EOT > & dist

Detailed Description

template<class EOT>
class eoSharing< EOT >

Sharing is a perf2worth class that implements Goldberg and Richardson's basic sharing see eoSharingSelect for how to use it and test/t-eoSharing.cpp for a sample use of both.

Definition at line 83 of file eoSharing.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends