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.NumericStorage Class Reference

Storage + basic statistics. More...

Inheritance diagram for Evolife.Ecology.Observer.NumericStorage:
Inheritance graph
[legend]
Collaboration diagram for Evolife.Ecology.Observer.NumericStorage:
Collaboration graph
[legend]

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
 

Detailed Description

Storage + basic statistics.

Definition at line 190 of file Observer.py.

Member Function Documentation

◆ statistics()

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.

Member Data Documentation

◆ average

Evolife.Ecology.Observer.NumericStorage.average

Definition at line 200 of file Observer.py.

◆ best

Evolife.Ecology.Observer.NumericStorage.best

Definition at line 197 of file Observer.py.


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