mauda.plugin.binqueue
Class BinQueueOperationExecuter
java.lang.Object
mauda.plugin.OperationExecuter
mauda.plugin.binqueue.BinQueueOperationExecuter
public class BinQueueOperationExecuter
- extends OperationExecuter
Maps operation-ids to the corresponding methods in the
FibHeap-data-structure.
- Author:
- Markus Krebs
|
Method Summary |
void |
execute(Operation op,
java.lang.Object o)
Executes an Operation on the current data-structure |
void |
execute(SubOperation op,
java.lang.Object o)
Executes an SubOperation on the current data-structure |
void |
executeTemplate(Operation op,
java.lang.Object o)
Executes an Operation on a copy of the current
data-structure, and filles consequently the SubOperations for
the current operation, without changing the current
data-structure. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinQueueOperationExecuter
public BinQueueOperationExecuter()
executeTemplate
public void executeTemplate(Operation op,
java.lang.Object o)
- Description copied from class:
OperationExecuter
- Executes an Operation on a copy of the current
data-structure, and filles consequently the SubOperations for
the current operation, without changing the current
data-structure. This method is needed to determine the
correct suboperations for an Operation.
- Overrides:
executeTemplate in class OperationExecuter
- Parameters:
op - Operationo - data-structure
execute
public void execute(Operation op,
java.lang.Object o)
- Description copied from class:
OperationExecuter
- Executes an Operation on the current data-structure
- Overrides:
execute in class OperationExecuter
- Parameters:
op - Operationo - data-structure
execute
public void execute(SubOperation op,
java.lang.Object o)
- Description copied from class:
OperationExecuter
- Executes an SubOperation on the current data-structure
- Overrides:
execute in class OperationExecuter
- Parameters:
op - SubOperationo - data-structure