haifa.shopsim.algorithms
Class FBFSPriorityAlgorithm
java.lang.Object
|
+--haifa.shopsim.algorithms.AbstractAlgorithm
|
+--haifa.shopsim.algorithms.BufferPriorityAlgorithm
|
+--haifa.shopsim.algorithms.FBFSPriorityAlgorithm
- All Implemented Interfaces:
- ShopAlgorithm
- public class FBFSPriorityAlgorithm
- extends BufferPriorityAlgorithm
Given two operations (r1,o1) and (r2,o2). If o1
Method Summary |
java.lang.String |
getAlgorithmName()
Returns a name of the algorithm. |
protected void |
setPriority(java.util.Map map,
java.util.List ops)
Gets an empty map that is to be filled with priorites.
|
static java.lang.String |
StaticGetAlgorithmName()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
FBFSPriorityAlgorithm
public FBFSPriorityAlgorithm(ShopData shopData_)
- Creates new FBFSPriorityAlgorithm
FBFSPriorityAlgorithm
public FBFSPriorityAlgorithm()
setPriority
protected void setPriority(java.util.Map map,
java.util.List ops)
- Description copied from class:
BufferPriorityAlgorithm
- Gets an empty map that is to be filled with priorites.
And gets a list of operations of all of the operations on
a machine. Should set a unique priority for each operation.
- Overrides:
setPriority
in class BufferPriorityAlgorithm
StaticGetAlgorithmName
public static java.lang.String StaticGetAlgorithmName()
getAlgorithmName
public java.lang.String getAlgorithmName()
- Description copied from interface:
ShopAlgorithm
- Returns a name of the algorithm.