Package pyvision :: Package optimize :: Module genetic :: Class GARanking
[hide private]
[frames] | no frames]

Class GARanking

source code

GAVariable --+
             |
            GARanking

Instance Methods [hide private]
 
__init__(self, n_elements, **kwargs) source code
 
random(self)
Initialize this variable randomly
source code
 
combine(self, other)
combine this variable with other.
source code
 
mutate(self)
introduce mutations into the variable.
source code
 
generate(self)
generate the actual value that will be populated in the arguments
source code
 
flatValue(self) source code
 
__repr__(self) source code
Method Details [hide private]

__init__(self, n_elements, **kwargs)
(Constructor)

source code 
Overrides: GAVariable.__init__

random(self)

source code 

Initialize this variable randomly

Overrides: GAVariable.random

combine(self, other)

source code 

combine this variable with other.

Overrides: GAVariable.combine

mutate(self)

source code 

introduce mutations into the variable.

Overrides: GAVariable.mutate

generate(self)

source code 

generate the actual value that will be populated in the arguments

Overrides: GAVariable.generate

flatValue(self)

source code 
Overrides: GAVariable.flatValue

__repr__(self)
(Representation operator)

source code 
Overrides: GAVariable.__repr__