Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
|
Groups several storages in different slots with different names. More...
Public Member Functions | |
def | __init__ (self, Name='') |
initializes a dict of storages More... | |
def | reset (self, length=-1) |
resets all storages More... | |
def | open_ (self, length=-1) |
opens all storages More... | |
def | store (self, StorageName, vector, Numeric=True) |
stores a data vector into a slot named StorageName More... | |
def | statistics (self) |
performs statistics in all individual storages More... | |
def | close_ (self) |
closes all storages More... | |
def | display (self, StorageName) |
displays all storages as text, one per line More... | |
def | get_data (self, StorageName) |
retrieves a data vector from slot named StorageName More... | |
Public Attributes | |
Name | |
storages | |
Groups several storages in different slots with different names.
Use by calling in sequence: reset() open_(size) size = number of slots store(Slotname, Value, Numeric) any time
close_() --> this performs statistics for each numeric slot
Definition at line 204 of file Observer.py.
def Evolife.Ecology.Observer.Examiner.__init__ | ( | self, | |
Name = '' |
|||
) |
initializes a dict of storages
Definition at line 213 of file Observer.py.
def Evolife.Ecology.Observer.Examiner.close_ | ( | self | ) |
closes all storages
Definition at line 249 of file Observer.py.
def Evolife.Ecology.Observer.Examiner.display | ( | self, | |
StorageName | |||
) |
displays all storages as text, one per line
Definition at line 255 of file Observer.py.
def Evolife.Ecology.Observer.Examiner.get_data | ( | self, | |
StorageName | |||
) |
retrieves a data vector from slot named StorageName
Definition at line 260 of file Observer.py.
def Evolife.Ecology.Observer.Examiner.open_ | ( | self, | |
length = -1 |
|||
) |
opens all storages
Definition at line 225 of file Observer.py.
def Evolife.Ecology.Observer.Examiner.reset | ( | self, | |
length = -1 |
|||
) |
resets all storages
Definition at line 219 of file Observer.py.
def Evolife.Ecology.Observer.Examiner.statistics | ( | self | ) |
performs statistics in all individual storages
Definition at line 243 of file Observer.py.
def Evolife.Ecology.Observer.Examiner.store | ( | self, | |
StorageName, | |||
vector, | |||
Numeric = True |
|||
) |
stores a data vector into a slot named StorageName
Definition at line 231 of file Observer.py.
Evolife.Ecology.Observer.Examiner.Name |
Definition at line 216 of file Observer.py.
Evolife.Ecology.Observer.Examiner.storages |
Definition at line 217 of file Observer.py.