|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsim.jmessage.Message jsim.jmessage.Simulate
public class Simulate
This class contains the control data, which will be passed from a model agent to a model bean to control the execution of a simulation and improve the quality of simulation result. The control data, together with the model input and output, may also be stored in the database later on.
Field Summary | |
---|---|
java.lang.String |
agentName
Name of the agent that generates the control data |
java.lang.Integer |
batchSize
Batch size. |
java.lang.Double |
confidenceLevel
Confidence level. |
java.lang.Integer |
numOfBatches
Number of batches. |
java.lang.Integer |
numOfReplications
Number of replications. |
java.lang.Double |
relativePrecision
Relative precision. |
java.lang.Integer |
replicationSize
Replication size. |
java.lang.Double |
transientPeriod
Transient period. |
Fields inherited from class jsim.jmessage.Message |
---|
actionType |
Constructor Summary | |
---|---|
Simulate(java.lang.String actionType,
java.lang.String agentName,
java.lang.Integer replicationSize,
java.lang.Integer numOfReplications,
java.lang.Double transientPeriod)
Constructs Simulate generated by the ReplicationAgent. |
|
Simulate(java.lang.String actionType,
java.lang.String agentName,
java.lang.Integer batchSize,
java.lang.Integer numOfBatches,
java.lang.Double relativePrecision,
java.lang.Double confidenceLevel)
Constructs Simulate generated by the BatchMeansAgent. |
Method Summary | |
---|---|
java.lang.String |
getAgentName()
Returns the name of the agent. |
java.lang.Integer |
getBatchSize()
Returns the batch size. |
java.lang.Double |
getConfidenceLevel()
Returns the confidence level. |
java.lang.Integer |
getNumOfBatches()
Returns the number of batches. |
java.lang.Integer |
getNumOfReplications()
Returns the number of replications. |
java.lang.Double |
getRelativePrecision()
Returns the relative precision. |
java.lang.Integer |
getReplicationSize()
Returns the replication size. |
java.lang.Double |
getTransientPeriod()
Returns the transient period. |
java.lang.String |
toString()
Converts this class into an XML fragment. |
Methods inherited from class jsim.jmessage.Message |
---|
getActionType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String agentName
public java.lang.Integer batchSize
public java.lang.Integer numOfBatches
public java.lang.Double relativePrecision
public java.lang.Double confidenceLevel
public java.lang.Integer replicationSize
public java.lang.Integer numOfReplications
public java.lang.Double transientPeriod
Constructor Detail |
---|
public Simulate(java.lang.String actionType, java.lang.String agentName, java.lang.Integer batchSize, java.lang.Integer numOfBatches, java.lang.Double relativePrecision, java.lang.Double confidenceLevel)
actionType
- The action typeagentName
- The name of the agentbatchSize
- The batch sizenumOfBatches
- The number of batchesrelativePrecision
- The relative precisionconfidenceLevel
- The confidence levelpublic Simulate(java.lang.String actionType, java.lang.String agentName, java.lang.Integer replicationSize, java.lang.Integer numOfReplications, java.lang.Double transientPeriod)
actionType
- The action typeagentName
- Name of the agentreplicationSize
- Replication sizenumOfReplications
- Number of replicationstransientPeriod
- Transient periodMethod Detail |
---|
public java.lang.String getAgentName()
public java.lang.Integer getBatchSize()
public java.lang.Integer getNumOfBatches()
public java.lang.Double getRelativePrecision()
Double
- The relative precision.public java.lang.Double getConfidenceLevel()
public java.lang.Integer getReplicationSize()
public java.lang.Integer getNumOfReplications()
Integer
- The number of replications.public java.lang.Double getTransientPeriod()
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 |