C# Class Medium, Hero.Coli

Inheritance: Barrel
Mostra file Open project: CyberCRI/Hero.Coli Class Usage Examples

Public Properties

Property Type Description
enableShufflingReactionOrder bool

Public Methods

Method Description
Init ( LinkedList reactionsSets, LinkedList moleculesSets ) : void
Log ( Logger level = Logger.Level.TRACE ) : void
ResetVariation ( ) : void
ToString ( ) : string
ToStringDetailed ( ) : string
Update ( ) : void
addEnergy ( float v ) : void
addMolConcentration ( string name, float value ) : void
addReaction ( IReaction, reaction ) : void
addVariation ( float variation ) : void
applyVariation ( ) : void
enableEnergy ( bool b ) : void
enableNoise ( bool b ) : void
enableSequential ( bool b ) : void
getEnergy ( ) : float
getEnergyProductionRate ( ) : float
getEnergyVariation ( ) : float
getId ( ) : int
getMaxEnergy ( ) : float
getMoleculeSet ( ) : string
getMolecules ( ) : ArrayList
getName ( ) : string
getReactionSet ( ) : string
getReactions ( ) : LinkedList
getTag ( ) : string
initDegradationReactions ( ArrayList allMolecules ) : void
initMoleculesFromMoleculeSets ( MoleculeSet molSet, ArrayList allMolecules ) : void
initReactionsFromReactionSet ( ReactionSet reactionsSet ) : void
removeReaction ( IReaction, reaction, bool checkNameAndMedium ) : void
removeReactionByName ( string name ) : void
setEnergy ( float v ) : void
setEnergyProductionRate ( float v ) : void
setId ( int id ) : void
setMaxEnergy ( float v ) : void
setMoleculeSet ( string moleculesSet ) : void
setName ( string name ) : void
setReactionSet ( string reactionsSet ) : void
setReactions ( LinkedList RL ) : void
subEnergy ( float v ) : void
subMolConcentration ( string name, float value ) : void
tryInstantiateFromXml ( XmlNode, node ) : bool
updateMoleculesConcentrations ( ) : void

Private Methods

Method Description
initATPProduction ( ) : void
loadEnergy ( string value ) : bool
loadEnergyProductionRate ( string value ) : bool
loadMaxEnergy ( string value ) : bool
manageMoleculeConcentrationWithKey ( String molecule ) : void

Method Details

Init() public method

public Init ( LinkedList reactionsSets, LinkedList moleculesSets ) : void
reactionsSets LinkedList
moleculesSets LinkedList
return void

Log() public method

public Log ( Logger level = Logger.Level.TRACE ) : void
level Logger
return void

ResetVariation() public method

public ResetVariation ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

ToStringDetailed() public method

public ToStringDetailed ( ) : string
return string

Update() public method

public Update ( ) : void
return void

addEnergy() public method

public addEnergy ( float v ) : void
v float
return void

addMolConcentration() public method

public addMolConcentration ( string name, float value ) : void
name string
value float
return void

addReaction() public method

public addReaction ( IReaction, reaction ) : void
reaction IReaction,
return void

addVariation() public method

public addVariation ( float variation ) : void
variation float
return void

applyVariation() public method

public applyVariation ( ) : void
return void

enableEnergy() public method

public enableEnergy ( bool b ) : void
b bool
return void

enableNoise() public method

public enableNoise ( bool b ) : void
b bool
return void

enableSequential() public method

public enableSequential ( bool b ) : void
b bool
return void

getEnergy() public method

public getEnergy ( ) : float
return float

getEnergyProductionRate() public method

public getEnergyProductionRate ( ) : float
return float

getEnergyVariation() public method

public getEnergyVariation ( ) : float
return float

getId() public method

public getId ( ) : int
return int

getMaxEnergy() public method

public getMaxEnergy ( ) : float
return float

getMoleculeSet() public method

public getMoleculeSet ( ) : string
return string

getMolecules() public method

public getMolecules ( ) : ArrayList
return ArrayList

getName() public method

public getName ( ) : string
return string

getReactionSet() public method

public getReactionSet ( ) : string
return string

getReactions() public method

public getReactions ( ) : LinkedList
return LinkedList

getTag() public method

public getTag ( ) : string
return string

initDegradationReactions() public method

public initDegradationReactions ( ArrayList allMolecules ) : void
allMolecules ArrayList
return void

initMoleculesFromMoleculeSets() public method

public initMoleculesFromMoleculeSets ( MoleculeSet molSet, ArrayList allMolecules ) : void
molSet MoleculeSet
allMolecules ArrayList
return void

initReactionsFromReactionSet() public method

public initReactionsFromReactionSet ( ReactionSet reactionsSet ) : void
reactionsSet ReactionSet
return void

removeReaction() public method

public removeReaction ( IReaction, reaction, bool checkNameAndMedium ) : void
reaction IReaction,
checkNameAndMedium bool
return void

removeReactionByName() public method

public removeReactionByName ( string name ) : void
name string
return void

setEnergy() public method

public setEnergy ( float v ) : void
v float
return void

setEnergyProductionRate() public method

public setEnergyProductionRate ( float v ) : void
v float
return void

setId() public method

public setId ( int id ) : void
id int
return void

setMaxEnergy() public method

public setMaxEnergy ( float v ) : void
v float
return void

setMoleculeSet() public method

public setMoleculeSet ( string moleculesSet ) : void
moleculesSet string
return void

setName() public method

public setName ( string name ) : void
name string
return void

setReactionSet() public method

public setReactionSet ( string reactionsSet ) : void
reactionsSet string
return void

setReactions() public method

public setReactions ( LinkedList RL ) : void
RL LinkedList
return void

subEnergy() public method

public subEnergy ( float v ) : void
v float
return void

subMolConcentration() public method

public subMolConcentration ( string name, float value ) : void
name string
value float
return void

tryInstantiateFromXml() public method

public tryInstantiateFromXml ( XmlNode, node ) : bool
node XmlNode,
return bool

updateMoleculesConcentrations() public method

public updateMoleculesConcentrations ( ) : void
return void

Property Details

enableShufflingReactionOrder public_oe property

public bool enableShufflingReactionOrder
return bool