|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.primordion.xholon.base.Xholon org.primordion.xholon.base.XholonWithPorts org.primordion.cellontro.app.XhAbstractSbml
SBML Application.
This class will be automatically extended if you use Sbml2Cellontro to build a Cellontro application that executes a model read from a Systems Biology Markup Language (SBML) file. SBML is used to exchange models between different software packages.
An instance of XhAbstractSbml represents some biological entity, and exists as a node in a composite structure hierarchy tree. Each such Xholon/Cellontro object goes through an initial configure() process, and may subsequently go through a regular act() process at each time step.
Field Summary | |
double |
pheneVal
|
java.lang.String |
roleName
|
java.lang.SecurityException |
securityException
|
Fields inherited from class org.primordion.xholon.base.XholonWithPorts |
port |
Fields inherited from class org.primordion.xholon.base.Xholon |
DEFAULT_LEVEL, interaction, interactionsEnabled |
Fields inherited from interface org.primordion.xholon.base.IXholon |
DEFAULT_SIZE_MSG_Q, NINCLUDE_PSC, NINCLUDE_PSx, NINCLUDE_PxC, NINCLUDE_Pxx, NINCLUDE_xSC, NINCLUDE_xSx, NINCLUDE_xxC, NINCLUDE_xxx |
Constructor Summary | |
XhAbstractSbml()
Constructor. |
Method Summary | |
void |
configure()
Perform some action, typically once at start up; MAY be overridden. |
void |
decPheneVal(double decAmount)
Decrement the phene value by incAmount. |
abstract int |
getNumModifiers()
Get maximum number of modifiers (activator, inhibitor) that any xholon instance may have in this model. |
abstract int |
getNumProducts()
Get maximum number of products that any xholon instance may have in this model. |
abstract int |
getNumReactants()
Get maximum number of reactants (substrates) that any xholon instance may have in this model. |
double |
getPheneVal()
Get phene value. |
java.lang.String |
getRoleName()
Get name of the role played by this Xholon within a specific context. |
int |
getTimeStepMultiplier()
Get the time step multiplier, needed for numerical integration. |
double |
getVal()
Get the value of a "double" maintained by this xholon instance. |
void |
incPheneVal(double incAmount)
Increment the phene value by incAmount. |
void |
initialize()
Initialize the tree node. |
void |
preAct()
Do any setup required before doing the main action during a time step. |
abstract void |
setNumModifiers(int numM)
Set maximum number of modifiers (activator, inhibitor) that any xholon instance may have in this model. |
abstract void |
setNumProducts(int numP)
Set maximum number of products that any xholon instance may have in this model. |
abstract void |
setNumReactants(int numR)
Set maximum number of reactants (substrates) that any xholon instance may have in this model. |
void |
setRoleName(java.lang.String roleName)
Set name of the role played by this Xholon within a specific context. |
static void |
setTimeStepMultiplier(int timeStepMultiplier)
Set the time step multiplier, needed for numerical integration. |
java.lang.String |
toString()
Search for instances of Xholon with ports that reference this instance. |
Methods inherited from class org.primordion.xholon.base.XholonWithPorts |
getMaxPorts, getPort, isActiveObject, isBound, isContainer, isPassiveObject, postConfigure, setMaxPorts, setPorts, terminate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String roleName
public double pheneVal
public java.lang.SecurityException securityException
Constructor Detail |
public XhAbstractSbml()
Method Detail |
public void initialize()
IXholon
initialize
in interface IXholon
initialize
in class XholonWithPorts
public double getVal()
IXholon
getVal
in interface IXholon
getVal
in class Xholon
public double getPheneVal()
IBioXholon
getPheneVal
in interface IBioXholon
public void incPheneVal(double incAmount)
IBioXholon
incPheneVal
in interface IBioXholon
incAmount
- The amount by which to increment the phenotype value.public void decPheneVal(double decAmount)
IBioXholon
decPheneVal
in interface IBioXholon
decAmount
- The amount by which to decrement the phenotype value.public void setRoleName(java.lang.String roleName)
IXholon
setRoleName
in interface IXholon
setRoleName
in class Xholon
public java.lang.String getRoleName()
IXholon
getRoleName
in interface IXholon
getRoleName
in class Xholon
public abstract int getNumReactants()
IBioXholon
getNumReactants
in interface IBioXholon
public abstract void setNumReactants(int numR)
IBioXholon
setNumReactants
in interface IBioXholon
numR
- Maximum number of reactants.public abstract int getNumProducts()
IBioXholon
getNumProducts
in interface IBioXholon
public abstract void setNumProducts(int numP)
IBioXholon
setNumProducts
in interface IBioXholon
numP
- Maximum number of products.public abstract int getNumModifiers()
IBioXholon
getNumModifiers
in interface IBioXholon
public abstract void setNumModifiers(int numM)
IBioXholon
setNumModifiers
in interface IBioXholon
numM
- Maximum number of modifiers.public int getTimeStepMultiplier()
public static void setTimeStepMultiplier(int timeStepMultiplier)
timeStepMultiplier
- Time step multiplier.public void configure()
IXholon
configure
in interface IXholon
configure
in class XholonWithPorts
public void preAct()
IXholon
preAct
in interface IXholon
preAct
in class Xholon
public java.lang.String toString()
toString
in class Xholon
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |