|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsim.jmessage.Message jsim.jmessage.FinalReport
public class FinalReport
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.Double[][] |
occuObsStat
Occupancy observation statistics |
java.lang.String[] |
occuObsStatName
Name of the occupancy statistics |
java.lang.Double[][] |
occuStat
Occupancy statistics |
java.lang.String[] |
occuStatName
Name of occupancy statistics |
java.lang.String[] |
statLabel
Names of the statistic result |
java.lang.Double[][] |
timeObsStat
Time observation statistics |
java.lang.String[] |
timeObsStatName
Name of time observation statistics |
java.lang.Double[][] |
timeStat
Time statistics |
java.lang.String[] |
timeStatName
Name of time statistics |
Fields inherited from class jsim.jmessage.Message |
---|
actionType |
Constructor Summary | |
---|---|
FinalReport(java.lang.String actionType,
java.lang.String modelName,
int numOfNodes,
java.lang.String[] statLabel,
java.util.Vector[] tStat,
java.util.Vector[] oStat,
java.util.Vector[] cStat,
java.util.Vector[] tObsStat,
java.util.Vector[] oObsStat,
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. |
java.lang.Double[][] |
getOccuObsStat()
Returns the occupancy observation statistics. |
java.lang.String[] |
getOccuObsStatName()
Returns the names of the occupancy observation statistics. |
java.lang.Double[][] |
getOccuStat()
Returns the occupancy statistics. |
java.lang.String[] |
getOccuStatName()
Returns the names of the occupancy statistics. |
double[] |
getStatData()
Returns the statistic data. |
java.lang.String[] |
getStatLabel()
Returns the name of the statistics. |
java.lang.Double[][] |
getTimeObsStat()
Returns the time observation statistics. |
java.lang.String[] |
getTimeObsStatName()
Returns the names of the time observation statistics. |
java.lang.Double[][] |
getTimeStat()
Returns the time statistics. |
java.lang.String[] |
getTimeStatName()
Returns the names of the time 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[] timeStatName
public java.lang.String[] occuStatName
public java.lang.String[] costStatName
public java.lang.String[] timeObsStatName
public java.lang.String[] occuObsStatName
public java.lang.String[] costObsStatName
public java.lang.Double[][] timeStat
public java.lang.Double[][] occuStat
public java.lang.Double[][] costStat
public java.lang.Double[][] timeObsStat
public java.lang.Double[][] occuObsStat
public java.lang.Double[][] costObsStat
Constructor Detail |
---|
public FinalReport(java.lang.String actionType, java.lang.String modelName, int numOfNodes, java.lang.String[] statLabel, java.util.Vector[] tStat, java.util.Vector[] oStat, java.util.Vector[] cStat, java.util.Vector[] tObsStat, java.util.Vector[] oObsStat, 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[] getTimeStatName()
public java.lang.String[] getOccuStatName()
public java.lang.String[] getCostStatName()
public java.lang.String[] getTimeObsStatName()
public java.lang.String[] getOccuObsStatName()
public java.lang.String[] getCostObsStatName()
public java.lang.Double[][] getTimeStat()
public java.lang.Double[][] getOccuStat()
public java.lang.Double[][] getCostStat()
public java.lang.Double[][] getTimeObsStat()
public java.lang.Double[][] getOccuObsStat()
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 |