Package de.swa.fuh.qrefinement.command
Class ChangeAlgorithmConfig
java.lang.Object
de.swa.fuh.qrefinement.command.ChangeAlgorithmConfig
- All Implemented Interfaces:
- UndoableCommand
public class ChangeAlgorithmConfig extends java.lang.Object implements UndoableCommand
This is a command class implementing command pattern. The algorithm used to form a new query can be changed with this command.
- Author:
- Nicolas Boch
- 
Constructor SummaryConstructors Constructor Description ChangeAlgorithmConfig(java.lang.String newalg)ChangeAlgorithmConfig(java.lang.String newalg, double a, double b, double c)
- 
Method Summary
- 
Constructor Details- 
ChangeAlgorithmConfigpublic ChangeAlgorithmConfig(java.lang.String newalg)
- 
ChangeAlgorithmConfigpublic ChangeAlgorithmConfig(java.lang.String newalg, double a, double b, double c)
 
- 
- 
Method Details- 
executepublic void execute()- Specified by:
- executein interface- UndoableCommand
 
- 
undopublic void undo()- Specified by:
- undoin interface- UndoableCommand
 
- 
redopublic void redo()- Specified by:
- redoin interface- UndoableCommand
 
 
-