Evolife
Evolife has been developed to study Genetic algorithms, Natural evolution and behavioural ecology.
|
Legend of a curves for Experiment_Observer. More...
Public Member Functions | |
def | __init__ (self) |
merely calls reset More... | |
def | reset (self) |
Defines Curves and their current Values Stores curves' designation and legend. More... | |
def | append (self, Name='Curve', Color='red', Legend='') |
Creates a new (local) curve and stores it. More... | |
def | Color (self, Name) |
returns the color of a curve More... | |
def | Value (self, Name, Value=None) |
sets or returns a curve's current value More... | |
def | legend (self) |
return legends More... | |
def | CurveNames (self) |
returns curves' designations More... | |
def | __iter__ (self) |
iterates through curves More... | |
def | Orders (self, x) |
Returns current curves' values (at time x) More... | |
Public Attributes | |
Curves | |
Values | |
Colors | |
Designations | |
Legends | |
Legend of a curves for Experiment_Observer.
Definition at line 52 of file Observer.py.
def Evolife.Ecology.Observer.Curves.__init__ | ( | self | ) |
merely calls reset
Definition at line 56 of file Observer.py.
def Evolife.Ecology.Observer.Curves.__iter__ | ( | self | ) |
iterates through curves
Definition at line 107 of file Observer.py.
def Evolife.Ecology.Observer.Curves.append | ( | self, | |
Name = 'Curve' , |
|||
Color = 'red' , |
|||
Legend = '' |
|||
) |
Creates a new (local) curve and stores it.
Definition at line 71 of file Observer.py.
def Evolife.Ecology.Observer.Curves.Color | ( | self, | |
Name | |||
) |
returns the color of a curve
Definition at line 83 of file Observer.py.
def Evolife.Ecology.Observer.Curves.CurveNames | ( | self | ) |
returns curves' designations
Definition at line 102 of file Observer.py.
def Evolife.Ecology.Observer.Curves.legend | ( | self | ) |
return legends
Definition at line 97 of file Observer.py.
def Evolife.Ecology.Observer.Curves.Orders | ( | self, | |
x | |||
) |
Returns current curves' values (at time x)
Definition at line 114 of file Observer.py.
def Evolife.Ecology.Observer.Curves.reset | ( | self | ) |
Defines Curves and their current Values Stores curves' designation and legend.
Definition at line 61 of file Observer.py.
def Evolife.Ecology.Observer.Curves.Value | ( | self, | |
Name, | |||
Value = None |
|||
) |
sets or returns a curve's current value
Definition at line 88 of file Observer.py.
Evolife.Ecology.Observer.Curves.Colors |
Definition at line 67 of file Observer.py.
Evolife.Ecology.Observer.Curves.Curves |
Definition at line 65 of file Observer.py.
Evolife.Ecology.Observer.Curves.Designations |
Definition at line 68 of file Observer.py.
Evolife.Ecology.Observer.Curves.Legends |
Definition at line 69 of file Observer.py.
Evolife.Ecology.Observer.Curves.Values |
Definition at line 66 of file Observer.py.