Version 1.2 (June 2013)
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
simulator.agent.HasSpecies Interface Reference

Interface for species classes, stating the methods that these classes should include. More...

Inheritance diagram for simulator.agent.HasSpecies:
simulator.agent.InfoAgent simulator.agent.SpecialisedAgent simulator.agent.zoo.Episome simulator.agent.zoo.MultiEpisome simulator.agent.ActiveAgent simulator.agent.InfoAgent simulator.agent.LocatedAgent simulator.agent.zoo.Episome simulator.agent.zoo.MultiEpisome simulator.agent.zoo.Bacterium simulator.agent.zoo.ParticulateEPS simulator.agent.zoo.BactEPS simulator.agent.zoo.BactAdaptable

Public Member Functions

void createNewAgent () throws CloneNotSupportedException
 Create a new progenitor with random deviation of the parameters. More...
 
HasSpecies sendNewAgent () throws CloneNotSupportedException
 Obtain another instance of the same species (totally independent). The returned agent is NOT registered. More...
 
void setSpecies (Species aSpecies)
 Set the species to a specified Species object. More...
 
String sendHeader ()
 Used in creation of results files - specifies the header of the columns of output information for this agent. More...
 
SpeciesParam getSpeciesParam ()
 Return the set of parameters that is associated with the object of this species. More...
 
void mutatePop ()
 Mutates inherited parameters and distributes particle mass - either exponentially or normally, dependent on value of distMethod. More...
 

Detailed Description

Interface for species classes, stating the methods that these classes should include.

Interface for species classes, stating the methods that these classes should include

Member Function Documentation

void simulator.agent.HasSpecies.createNewAgent ( ) throws CloneNotSupportedException

Create a new progenitor with random deviation of the parameters.

Create a new progenitor with random deviation of the parameters

Exceptions
CloneNotSupportedExceptionException thrown if the object cannot be cloned

Implemented in simulator.agent.ActiveAgent, simulator.agent.zoo.MultiEpisome, simulator.agent.zoo.Episome, and simulator.agent.SpecialisedAgent.

SpeciesParam simulator.agent.HasSpecies.getSpeciesParam ( )

Return the set of parameters that is associated with the object of this species.

Return the set of parameters that is associated with the object of this species

Returns
Object of BacteriumParam that stores the parameters associated with this species

Implemented in simulator.agent.LocatedAgent, simulator.agent.ActiveAgent, simulator.agent.zoo.Bacterium, simulator.agent.zoo.BactAdaptable, simulator.agent.zoo.ParticulateEPS, simulator.agent.zoo.MultiEpisome, simulator.agent.zoo.Episome, simulator.agent.SpecialisedAgent, and simulator.agent.zoo.BactEPS.

void simulator.agent.HasSpecies.mutatePop ( )

Mutates inherited parameters and distributes particle mass - either exponentially or normally, dependent on value of distMethod.

Mutates inherited parameters and distributes particle mass - either exponentially or normally, dependent on value of distMethod

Implemented in simulator.agent.LocatedAgent, simulator.agent.ActiveAgent, simulator.agent.zoo.ParticulateEPS, simulator.agent.zoo.Bacterium, simulator.agent.zoo.MultiEpisome, simulator.agent.zoo.Episome, and simulator.agent.SpecialisedAgent.

String simulator.agent.HasSpecies.sendHeader ( )

Used in creation of results files - specifies the header of the columns of output information for this agent.

Used in creation of results files - specifies the header of the columns of output information for this agent

Returns
String specifying the header of each column of results associated with this agent

Implemented in simulator.agent.LocatedAgent, simulator.agent.ActiveAgent, simulator.agent.zoo.MultiEpisome, simulator.agent.zoo.Bacterium, simulator.agent.zoo.BactAdaptable, simulator.agent.zoo.ParticulateEPS, and simulator.agent.zoo.Episome.

HasSpecies simulator.agent.HasSpecies.sendNewAgent ( ) throws CloneNotSupportedException

Obtain another instance of the same species (totally independent). The returned agent is NOT registered.

Obtain another instance of the same species (totally independent). The returned agent is NOT registered

Exceptions
CloneNotSupportedExceptionException thrown if the object cannot be cloned

Implemented in simulator.agent.zoo.Bacterium, simulator.agent.zoo.MultiEpisome, simulator.agent.zoo.Episome, simulator.agent.SpecialisedAgent, and simulator.agent.zoo.ParticulateEPS.

void simulator.agent.HasSpecies.setSpecies ( Species  aSpecies)

Set the species to a specified Species object.

Set the species parameters to a specified Species object

Parameters
aSpeciesSpecies object to set this Species object to

Implemented in simulator.agent.SpecialisedAgent.


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