Public Member Functions | Protected Attributes

SelRandomOp Class Reference

Random individual selection operator. More...

#include <SelRandomOp.h>

Inheritance diagram for SelRandomOp:
SelectionOperator

List of all members.

Public Member Functions

bool initialize (StateP)
IndividualP select (const std::vector< IndividualP > &)

Protected Attributes

RandomizerP randomizer_

Detailed Description

Random individual selection operator.

Definition at line 10 of file SelRandomOp.h.


Member Function Documentation

bool SelRandomOp::initialize ( StateP   )  [virtual]

Selection operator initialization. Must be called before individual selection.

Implements SelectionOperator.

Definition at line 5 of file SelRandomOp.cpp.

IndividualP SelRandomOp::select ( const std::vector< IndividualP > &   )  [virtual]

Select one individual from a set.

Implements SelectionOperator.

Definition at line 13 of file SelRandomOp.cpp.


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