Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

Es::EsObjectBase Class Reference

Inheritance diagram for Es::EsObjectBase:

Inheritance graph
[legend]
List of all members.

Public Methods

 __init__ (self, Generation=0)
 create (self, Generation)
 _mutate ()
 evaluate (self)
 quality (self)
 success (self)
 relatedness (self, other)
 pedigree (self)

Detailed Description

Base class for evolution strategies object of optimization.. This class is not functional as object parameters are not implemented and methods _mutate() and evaluate() are pure virtual.

Derived classes EsObject and SevObject will implement these in different ways for the different purposes of parameter and structure evolution.


Member Function Documentation

Es::EsObjectBase::__init__ self   ,
Generation    = 0
 

Es::EsObjectBase::_mutate  
 

Mutation method (pure virtual)

Es::EsObjectBase::create self   ,
Generation   
 

Factory function returning a mutated instance.

Es::EsObjectBase::evaluate self   
 

Quality (fitness) evaluation (pure virtual). Derived classes have to do the genotype to phenotype mapping and to evalutate a selection relevant scalar fitness value (quality).

The quality has to be assigned to attribute _q, the phenotype may optionally be assigned to _phene.

Reimplemented in Es::EsObject.

Es::EsObjectBase::pedigree self   
 

Recursively descend parents until prime and return them all in a list (not including self).

Es::EsObjectBase::quality self   
 

Return quality (which must have been assigned by call to evaluate())

Es::EsObjectBase::relatedness self   ,
other   
 

Es::EsObjectBase::success self   
 

Returns success rate


The documentation for this class was generated from the following file:
Generated on Wed Mar 5 14:47:42 2003 for PyEs by doxygen1.2.17