Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
|
Kind of matrix. More...
Public Member Functions | |
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 | |
Name | |
open | |
storage | |
average | |
best | |
length | |
itemLength | |
Kind of matrix.
Stores raw data, typically vectors of integers
Definition at line 122 of file Observer.py.
def Evolife.Ecology.Observer.Storage.__init__ | ( | self, | |
Name | |||
) |
calls reset
Reimplemented in Evolife.Ecology.Observer.Meta_Examiner, Evolife.Ecology.Observer.EvolifeObserver, and Evolife.Ecology.Observer.Observer.
Definition at line 126 of file Observer.py.
def Evolife.Ecology.Observer.Storage.close_ | ( | self | ) |
sets the storage as 'closed'
Definition at line 168 of file Observer.py.
def Evolife.Ecology.Observer.Storage.get_data | ( | self | ) |
returns a tuple of all the vectors in the storage
Reimplemented in Evolife.Ecology.Observer.Meta_Examiner, and Evolife.Ecology.Observer.Observer.
Definition at line 178 of file Observer.py.
def Evolife.Ecology.Observer.Storage.open_ | ( | self, | |
length = -1 |
|||
) |
marks the storage as 'open'
Definition at line 142 of file Observer.py.
def Evolife.Ecology.Observer.Storage.reset | ( | self, | |
length = -1 |
|||
) |
initializes the 'storage', 'average' and 'best' lists
Definition at line 132 of file Observer.py.
def Evolife.Ecology.Observer.Storage.statistics | ( | self | ) |
to be overloaded
Reimplemented in Evolife.Ecology.Observer.NumericStorage, and Evolife.Ecology.Observer.Meta_Examiner.
Definition at line 163 of file Observer.py.
def Evolife.Ecology.Observer.Storage.store | ( | self, | |
vector | |||
) |
stores a vecor in the storage
Definition at line 150 of file Observer.py.
Evolife.Ecology.Observer.Storage.average |
Definition at line 137 of file Observer.py.
Evolife.Ecology.Observer.Storage.best |
Definition at line 138 of file Observer.py.
Evolife.Ecology.Observer.Storage.itemLength |
Definition at line 140 of file Observer.py.
Evolife.Ecology.Observer.Storage.length |
Definition at line 139 of file Observer.py.
Evolife.Ecology.Observer.Storage.Name |
Definition at line 129 of file Observer.py.
Evolife.Ecology.Observer.Storage.open |
Definition at line 135 of file Observer.py.
Evolife.Ecology.Observer.Storage.storage |
Definition at line 136 of file Observer.py.