mauda.plugin.fibheap
Class FibHeapOperationExecuter

java.lang.Object
  extended by mauda.plugin.OperationExecuter
      extended by mauda.plugin.fibheap.FibHeapOperationExecuter

public class FibHeapOperationExecuter
extends OperationExecuter

Maps operation-ids to the corresponding methods in the FibHeap-data-structure.

Author:
Markus Krebs

Constructor Summary
FibHeapOperationExecuter()
          Creates a FibHeap-Operation-Executer
 
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 mauda.plugin.OperationExecuter
getRatings, setRatings
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FibHeapOperationExecuter

public FibHeapOperationExecuter()
Creates a FibHeap-Operation-Executer

Method Detail

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 - Operation
o - 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 - Operation
o - 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 - SubOperation
o - data-structure