|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A ShopAlgorithm (GFA,CFA,manual etc...) has associations to a ShopState object (An object representing the current state of the shop), a ShopData object (the shop topology and jobs processing times), a ShopSimulation object and a log into which it writes infomration regarding it's processing.
Method Summary | |
java.lang.String |
explanationString()
Returns a string telling a little bit about what the algorithm does. |
java.lang.String |
getAlgorithmName()
Returns a name of the algorithm. |
boolean |
isDeterministic()
Returns true if the algorithm is determinsitic. |
void |
reset()
Resets the algorithm. |
void |
setLog(java.io.PrintWriter log)
The algorithm writes decision information to the log. |
void |
setShopData(ShopData shopData)
Set the algorithm's shopData object, this is a reference for the general topology of the job shop and for processing times. |
void |
setShopSimulationObject(ShopSimulation shopSimulation)
Set the algorithm's shop simulation object. |
void |
setShopStateObject(ShopState shopState)
Set the algorithm's ShopState object. |
ShopCommand |
whatNow(int machineNumber)
Returns a ShopCommand class which has the directions on the next immidiate action to do for the specific machine. This method looks at the shop state objects and decides what the machine should do. |
Method Detail |
public ShopCommand whatNow(int machineNumber)
This method looks at the shop state objects and decides what the machine should do.
public void reset()
public void setShopStateObject(ShopState shopState)
public void setShopSimulationObject(ShopSimulation shopSimulation)
public void setShopData(ShopData shopData)
public void setLog(java.io.PrintWriter log)
public java.lang.String explanationString()
public boolean isDeterministic()
public java.lang.String getAlgorithmName()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |