|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsim.jmessage.Message jsim.jmessage.CostReport
public class CostReport
This class contains simulation result of a model. The result is sent by the containing model bean to the controlling model agent.
Field Summary | |
---|---|
java.lang.Double[][] |
costObsStat
Cost observation statistics |
java.lang.String[] |
costObsStatName
Name of cost observation statistics |
java.lang.Double[][] |
costStat
Cost statistics |
java.lang.String[] |
costStatName
Name of cost statistics |
java.lang.String[] |
statLabel
Names of the statistic result |
Fields inherited from class jsim.jmessage.Message |
---|
actionType |
Constructor Summary | |
---|---|
CostReport(java.lang.String actionType,
java.lang.String modelName,
int numOfNodes,
java.lang.String[] statLabel,
java.util.Vector[] cStat,
java.util.Vector[] cObsStat,
double[] statData)
Constructs an instance of FinalReport by message type, number of nodes, names of statistics, time statistics, occupancy statistics, time observation statistics, occupancy observation statistics, and statistic data needed by the ReplicationAgent. |
Method Summary | |
---|---|
java.lang.Double[][] |
getCostObsStat()
Returns the cost observation statistics. |
java.lang.String[] |
getCostObsStatName()
Returns the names of the cost observation statistics. |
java.lang.Double[][] |
getCostStat()
Returns the cost statistics. |
java.lang.String[] |
getCostStatName()
Returns the names of the cost statistics. |
java.lang.String |
getModelName()
Returns the model name. |
int |
getNumOfNodes()
Returns the number of nodes. |
double[] |
getStatData()
Returns the statistic data. |
java.lang.String[] |
getStatLabel()
Returns the name of the statistics. |
java.lang.String |
toString()
Returns an XML fragment representing the FinalReport |
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[] statLabel
public java.lang.String[] costStatName
public java.lang.String[] costObsStatName
public java.lang.Double[][] costStat
public java.lang.Double[][] costObsStat
Constructor Detail |
---|
public CostReport(java.lang.String actionType, java.lang.String modelName, int numOfNodes, java.lang.String[] statLabel, java.util.Vector[] cStat, java.util.Vector[] cObsStat, double[] statData)
actionType
- The message typemodelName
- The model namestatLabel
- The names of the statisticstStat
- The time statisticsoStat
- The occupancy statisticstObsStat
- The time observation staticsticsoObsStat
- The occupancy observation statisticsstatData
- The statistic data prepared by the
ModelBean for the ReplicationAgent in case
the controlling agent is the ReplicationAgentMethod Detail |
---|
public java.lang.String getModelName()
public int getNumOfNodes()
public double[] getStatData()
public java.lang.String[] getStatLabel()
public java.lang.String[] getCostStatName()
public java.lang.String[] getCostObsStatName()
public java.lang.Double[][] getCostStat()
public java.lang.Double[][] getCostObsStat()
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 |