|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.primordion.xholon.base.Xholon
org.primordion.xholon.base.XholonWithPorts
org.primordion.dynsys.app.XhGravity1
Dynamical Systems - Gravity1.
| Field Summary | |
double |
gravitationalForce
|
static int |
P_Gravity
|
double |
position
|
java.lang.String |
roleName
|
static int |
timeStepMultiplier
|
double |
velocity
|
| 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.dynsys.app.CeGravity1 |
EarthCE, GravitySystemCE, includeCE, SuspendedMassCE, XholonClassCE |
| 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 | |
XhGravity1()
|
|
| Method Summary | |
void |
act()
Do some action during this time step. |
java.lang.String |
getRoleName()
Get name of the role played by this Xholon within a specific context. |
double |
getVal_double()
Get the value of a "double" maintained by this xholon instance. |
double |
getVal()
Get the value of a "double" maintained by this xholon instance. |
void |
initialize()
Initialize the tree node. |
void |
setRoleName(java.lang.String roleName)
Set name of the role played by this Xholon within a specific context. |
void |
setVal(double val)
Set the value of a "double" maintained by this xholon instance. |
java.lang.String |
toString()
|
| Methods inherited from class org.primordion.xholon.base.XholonWithPorts |
configure, 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 static final int P_Gravity
public static final int timeStepMultiplier
public double position
public double velocity
public double gravitationalForce
public java.lang.String roleName
| Constructor Detail |
public XhGravity1()
| Method Detail |
public void initialize()
IXholon
initialize in interface IXholoninitialize in class XholonWithPortspublic double getVal()
IXholon
getVal in interface IXholongetVal in class Xholonpublic double getVal_double()
IXholon
getVal_double in interface IXholongetVal_double in class Xholonpublic void setVal(double val)
IXholon
setVal in interface IXholonsetVal in class Xholonpublic void setRoleName(java.lang.String roleName)
IXholon
setRoleName in interface IXholonsetRoleName in class Xholonpublic java.lang.String getRoleName()
IXholon
getRoleName in interface IXholongetRoleName in class Xholonpublic void act()
IXholon
act in interface IXholonact in class Xholonpublic java.lang.String toString()
toString in class Xholon
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||