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

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
 

Detailed Description

Legend of a curves for Experiment_Observer.

Definition at line 52 of file Observer.py.

Constructor & Destructor Documentation

◆ __init__()

def Evolife.Ecology.Observer.Curves.__init__ (   self)

merely calls reset

Definition at line 56 of file Observer.py.

Member Function Documentation

◆ __iter__()

def Evolife.Ecology.Observer.Curves.__iter__ (   self)

iterates through curves

Definition at line 107 of file Observer.py.

◆ append()

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.

◆ Color()

def Evolife.Ecology.Observer.Curves.Color (   self,
  Name 
)

returns the color of a curve

Definition at line 83 of file Observer.py.

◆ CurveNames()

def Evolife.Ecology.Observer.Curves.CurveNames (   self)

returns curves' designations

Definition at line 102 of file Observer.py.

◆ legend()

def Evolife.Ecology.Observer.Curves.legend (   self)

return legends

Definition at line 97 of file Observer.py.

◆ Orders()

def Evolife.Ecology.Observer.Curves.Orders (   self,
  x 
)

Returns current curves' values (at time x)

Definition at line 114 of file Observer.py.

◆ reset()

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.

◆ Value()

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.

Member Data Documentation

◆ Colors

Evolife.Ecology.Observer.Curves.Colors

Definition at line 67 of file Observer.py.

◆ Curves

Evolife.Ecology.Observer.Curves.Curves

Definition at line 65 of file Observer.py.

◆ Designations

Evolife.Ecology.Observer.Curves.Designations

Definition at line 68 of file Observer.py.

◆ Legends

Evolife.Ecology.Observer.Curves.Legends

Definition at line 69 of file Observer.py.

◆ Values

Evolife.Ecology.Observer.Curves.Values

Definition at line 66 of file Observer.py.


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