|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsim.jmessage.NodeProps
public class NodeProps
The NodeProps class represents the properties of a node to be stored in the database.
Field Summary | |
---|---|
java.lang.Double |
alpha
The alpha parameter for the distribution |
java.lang.Double |
beta
The beta parameter for the distribution |
java.lang.Double |
gamma
The beta parameter for the distribution |
java.lang.String |
nodeName
The node name |
int |
nodeType
The node type (SOURCE, FACILITY, SINK, etc) |
int |
numOfTokens
The number of tokens associated with this node. |
java.lang.Integer |
stream
The stream parameter for the distribution |
java.lang.String |
timeDist
The name of the distribution type (variate name) |
Constructor Summary | |
---|---|
NodeProps(java.lang.String nodeName,
int nodeType,
int numOfTokens,
java.lang.String timeDist,
java.lang.Double alpha,
java.lang.Double beta,
java.lang.Double gamma,
java.lang.Integer stream)
Constructs a NodeProps instance. |
Method Summary | |
---|---|
java.lang.String |
toString()
Returns an XML fragment representing this instance of NodeProps. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String nodeName
public int nodeType
public int numOfTokens
public java.lang.String timeDist
public java.lang.Double alpha
public java.lang.Double beta
public java.lang.Double gamma
public java.lang.Integer stream
Constructor Detail |
---|
public NodeProps(java.lang.String nodeName, int nodeType, int numOfTokens, java.lang.String timeDist, java.lang.Double alpha, java.lang.Double beta, java.lang.Double gamma, java.lang.Integer stream)
nodeName
- The node namenodeType
- The node typenumOfTokens
- The number of tokenstimeDist
- The distribution namealpha
- The first parameter of the distribution,
if there are at least 2 parameters.beta
- The second parameter of the distribution,
if there are at least 3 parameters.gamma
- The third parameter of the distribution,
if there are at least 4 parameters.stream
- The last parameter of the distribution.
(All distribution variates have at least
this parameter.)Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |