haifa.shopsim.lab
Class RichShopStatistics
java.lang.Object
|
+--haifa.shopsim.lab.ShopStatistics
|
+--haifa.shopsim.lab.RichShopStatistics
- All Implemented Interfaces:
- java.io.Serializable
- public class RichShopStatistics
- extends ShopStatistics
- implements java.io.Serializable
This class is a shopStatistics object, but it also contains some more info. This info is information that doesn't have
to do with the way the shop ran but rather with the job shop problem being run:
- The job shop file name.
- The random time maker name.
- The algorithm name.
- The initial Nr[] (number of jobs on each route.)
- The initial expected times. (assuming that one job moves on each route.)
Note that this class implements serizliable so that it can be saved to file as is.
- Version:
- 0.60
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
algorithmName
The algorithm name. |
(package private) double[] |
expectedTimes
The expected processing times for each machine. |
protected java.lang.String |
jbsFileName
The job shop file name. |
protected int[] |
Nr
The inital number of jobs on each route. |
protected java.lang.String |
randomMaker
The name of the random time maker. |
Fields inherited from class haifa.shopsim.lab.ShopStatistics |
finished, finishTimes, flowTime, I, numSimulationEvents, restForGoodTimes, restTimes, serialNum, serialNumCounter, starveTimes, willingRestTimes, workTimes |
Constructor Summary |
RichShopStatistics(int I_,
java.lang.String jbsFileName_,
java.lang.String randomMaker_,
java.lang.String algorithmName_)
Creates new RichShopStatistics |
Methods inherited from class haifa.shopsim.lab.ShopStatistics |
getFinishTimes, getFlowTime, getLastWorkingMachines, getMakeSpan, getMostWorkingMachines, getRestForGoodTimes, getRestTimes, getStarveTimes, getWillingRestTimes, getWorkTimes, incEvents, increaseFlowTime, increaseRestForGoodTime, increaseRestTime, increaseStarveTime, increaseWillingRestTime, increaseWorkTime, isComplete, maybeSetFinishTime, seal, setFinishTime |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
jbsFileName
protected java.lang.String jbsFileName
- The job shop file name.
randomMaker
protected java.lang.String randomMaker
- The name of the random time maker.
algorithmName
protected java.lang.String algorithmName
- The algorithm name.
Nr
protected int[] Nr
- The inital number of jobs on each route.
expectedTimes
double[] expectedTimes
- The expected processing times for each machine. (Assuming that one job is on each route.)
RichShopStatistics
public RichShopStatistics(int I_,
java.lang.String jbsFileName_,
java.lang.String randomMaker_,
java.lang.String algorithmName_)
- Creates new RichShopStatistics
getJbsFileName
public java.lang.String getJbsFileName()
getRandomMakerName
public java.lang.String getRandomMakerName()
getAlgorithmName
public java.lang.String getAlgorithmName()
getNr
public int[] getNr()
getExpectedTimes
public double[] getExpectedTimes()
setNr
public void setNr(int[] Nr_)
setExpectedTimes
public void setExpectedTimes(double[] expectedTimes_)
toString
public java.lang.String toString()
- Overrides:
toString
in class ShopStatistics