haifa.shopsim.algorithms
Class BGFluidAlgorithm
java.lang.Object
|
+--haifa.shopsim.algorithms.AbstractAlgorithm
|
+--haifa.shopsim.algorithms.BGFluidAlgorithm
- All Implemented Interfaces:
- ShopAlgorithm
- public class BGFluidAlgorithm
- extends AbstractAlgorithm
This class is still not ready.
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. |
static java.lang.String |
StaticGetAlgorithmName()
|
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. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
EXPLANATION
public static final java.lang.String EXPLANATION
BGFluidAlgorithm
public BGFluidAlgorithm()
- Creates new BGFluidAlgorithm
BGFluidAlgorithm
public BGFluidAlgorithm(ShopData shopData_)
whatNow
public ShopCommand whatNow(int machineNumber)
- Description copied from interface:
ShopAlgorithm
- 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.
isDeterministic
public boolean isDeterministic()
- Description copied from interface:
ShopAlgorithm
- Returns true if the algorithm is determinsitic.
explanationString
public java.lang.String explanationString()
- Description copied from interface:
ShopAlgorithm
- Returns a string telling a little bit about what the algorithm does.
- Overrides:
explanationString
in class AbstractAlgorithm
StaticGetAlgorithmName
public static java.lang.String StaticGetAlgorithmName()
getAlgorithmName
public java.lang.String getAlgorithmName()
- Description copied from interface:
ShopAlgorithm
- Returns a name of the algorithm.