Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
Public Member Functions | Public Attributes | List of all members
Evolife.Ecology.Observer.Examiner Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def Evolife.Ecology.Observer.Examiner.__init__ (   self,
  Name = '' 
)

initializes a dict of storages

Definition at line 213 of file Observer.py.

Member Function Documentation

◆ close_()

def Evolife.Ecology.Observer.Examiner.close_ (   self)

closes all storages

Definition at line 249 of file Observer.py.

◆ display()

def Evolife.Ecology.Observer.Examiner.display (   self,
  StorageName 
)

displays all storages as text, one per line

Definition at line 255 of file Observer.py.

◆ get_data()

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.

◆ open_()

def Evolife.Ecology.Observer.Examiner.open_ (   self,
  length = -1 
)

opens all storages

Definition at line 225 of file Observer.py.

◆ reset()

def Evolife.Ecology.Observer.Examiner.reset (   self,
  length = -1 
)

resets all storages

Definition at line 219 of file Observer.py.

◆ statistics()

def Evolife.Ecology.Observer.Examiner.statistics (   self)

performs statistics in all individual storages

Definition at line 243 of file Observer.py.

◆ store()

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.

Member Data Documentation

◆ Name

Evolife.Ecology.Observer.Examiner.Name

Definition at line 216 of file Observer.py.

◆ storages

Evolife.Ecology.Observer.Examiner.storages

Definition at line 217 of file Observer.py.


The documentation for this class was generated from the following file: