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

Stores some global observation and display variables. More...

Inheritance diagram for Evolife.Social.SocialSimulation.Social_Observer:
Inheritance graph
[legend]
Collaboration diagram for Evolife.Social.SocialSimulation.Social_Observer:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, Parameters=None)
 Experiment_Observer constructor. More...
 
def get_data (self, Slot, Consumption=True)
 Experiment_Observer's get_data + slot 'Network' that contains social links. More...
 
def hot_phase (self)
 The hot phase is a limited amount of time, controlled by the 'LearnHorizon' parameter, during which learning is faster. More...
 

Public Attributes

 Alliances
 

Detailed Description

Stores some global observation and display variables.

Definition at line 57 of file SocialSimulation.py.

Constructor & Destructor Documentation

◆ __init__()

def Evolife.Social.SocialSimulation.Social_Observer.__init__ (   self,
  Parameters = None 
)

Experiment_Observer constructor.

  • declaration of an average social distance curve
  • initialization of social links

Definition at line 61 of file SocialSimulation.py.

Member Function Documentation

◆ get_data()

def Evolife.Social.SocialSimulation.Social_Observer.get_data (   self,
  Slot,
  Consumption = True 
)

Experiment_Observer's get_data + slot 'Network' that contains social links.

Definition at line 73 of file SocialSimulation.py.

◆ hot_phase()

def Evolife.Social.SocialSimulation.Social_Observer.hot_phase (   self)

The hot phase is a limited amount of time, controlled by the 'LearnHorizon' parameter, during which learning is faster.

Definition at line 79 of file SocialSimulation.py.

Member Data Documentation

◆ Alliances

Evolife.Social.SocialSimulation.Social_Observer.Alliances

Definition at line 68 of file SocialSimulation.py.


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