Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
|
Storage + basic statistics. More...
Public Member Functions | |
def | statistics (self) |
computes best and average More... | |
Public Member Functions inherited from Evolife.Ecology.Observer.Storage | |
def | __init__ (self, Name) |
calls reset More... | |
def | reset (self, length=-1) |
initializes the 'storage', 'average' and 'best' lists More... | |
def | open_ (self, length=-1) |
marks the storage as 'open' More... | |
def | store (self, vector) |
stores a vecor in the storage More... | |
def | statistics (self) |
to be overloaded More... | |
def | close_ (self) |
sets the storage as 'closed' More... | |
def | get_data (self) |
returns a tuple of all the vectors in the storage More... | |
Public Attributes | |
best | |
average | |
Public Attributes inherited from Evolife.Ecology.Observer.Storage | |
Name | |
open | |
storage | |
average | |
best | |
length | |
itemLength | |
Storage + basic statistics.
Definition at line 190 of file Observer.py.
def Evolife.Ecology.Observer.NumericStorage.statistics | ( | self | ) |
computes best and average
Reimplemented from Evolife.Ecology.Observer.Storage.
Definition at line 193 of file Observer.py.
Evolife.Ecology.Observer.NumericStorage.average |
Definition at line 200 of file Observer.py.
Evolife.Ecology.Observer.NumericStorage.best |
Definition at line 197 of file Observer.py.