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

memory buffer with limited length More...

Inheritance diagram for Evolife.Tools.Tools.LimitedMemory:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, MaxLength)
 
def __len__ (self)
 
def reset (self)
 
def push (self, Item)
 
def complete (self)
 full experience More...
 
def retrieve (self)
 
def last (self)
 
def pull (self)
 
def __iter__ (self)
 

Public Attributes

 MaxLength
 
 past
 

Detailed Description

memory buffer with limited length

Definition at line 201 of file Tools.py.

Constructor & Destructor Documentation

◆ __init__()

def Evolife.Tools.Tools.LimitedMemory.__init__ (   self,
  MaxLength 
)

Definition at line 205 of file Tools.py.

Member Function Documentation

◆ __iter__()

def Evolife.Tools.Tools.LimitedMemory.__iter__ (   self)

Definition at line 232 of file Tools.py.

◆ __len__()

def Evolife.Tools.Tools.LimitedMemory.__len__ (   self)

Definition at line 209 of file Tools.py.

◆ complete()

def Evolife.Tools.Tools.LimitedMemory.complete (   self)

full experience

Definition at line 217 of file Tools.py.

◆ last()

def Evolife.Tools.Tools.LimitedMemory.last (   self)

Definition at line 224 of file Tools.py.

◆ pull()

def Evolife.Tools.Tools.LimitedMemory.pull (   self)

Definition at line 228 of file Tools.py.

◆ push()

def Evolife.Tools.Tools.LimitedMemory.push (   self,
  Item 
)

Definition at line 213 of file Tools.py.

◆ reset()

def Evolife.Tools.Tools.LimitedMemory.reset (   self)

Definition at line 211 of file Tools.py.

◆ retrieve()

def Evolife.Tools.Tools.LimitedMemory.retrieve (   self)

Definition at line 222 of file Tools.py.

Member Data Documentation

◆ MaxLength

Evolife.Tools.Tools.LimitedMemory.MaxLength

Definition at line 206 of file Tools.py.

◆ past

Evolife.Tools.Tools.LimitedMemory.past

Definition at line 211 of file Tools.py.


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