EvolvingObjects
eoTwoOptMutation< EOT > Class Template Reference

Especially designed for combinatorial problem such as the TSP. More...

#include <eoTwoOptMutation.h>

Inheritance diagram for eoTwoOptMutation< EOT >:
eoMonOp< EOT > eoOp< EOT > eoUF< EOT &, bool > eoFunctorBase unary_function

List of all members.

Public Types

typedef EOT::AtomType GeneType

Public Member Functions

 eoTwoOptMutation ()
 CTor.
virtual std::string className () const
 The class name.
bool operator() (EOT &_eo)

Detailed Description

template<class EOT>
class eoTwoOptMutation< EOT >

Especially designed for combinatorial problem such as the TSP.

Examples:
t-eoTwoOptMutation.cpp.

Definition at line 38 of file eoTwoOptMutation.h.


Member Function Documentation

template<class EOT>
bool eoTwoOptMutation< EOT >::operator() ( EOT &  _eo) [inline, virtual]
Parameters:
_eoThe cromosome which is going to be changed.

Implements eoUF< EOT &, bool >.

Definition at line 54 of file eoTwoOptMutation.h.

References eoRng::random().


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