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

Class GABoolean

source code

GAVariable --+
             |
            GABoolean

Instance Methods [hide private]
 
__init__(self, **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
 
__repr__(self) source code

Inherited from GAVariable: flatValue

Method Details [hide private]

__init__(self, **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

__repr__(self)
(Representation operator)

source code 
Overrides: GAVariable.__repr__