Package org.graffiti.plugin.algorithm
Interface CalculatingAlgorithm
- All Superinterfaces:
Algorithm
public interface CalculatingAlgorithm extends Algorithm
After its execution a
CalculatingAlgorithm has computed an
AlgorithmResult, that can be obtained through the
getResult() method.- Version:
- $Revision: 1.4 $
- See Also:
AlgorithmResult,Algorithm
-
Method Summary
Modifier and Type Method Description AlgorithmResultgetResult()Returns theAlgorithmResultthat was computed by theAlgorithmduring the last execution.Methods inherited from interface org.graffiti.plugin.algorithm.Algorithm
attach, check, execute, getAcceleratorKeyStroke, getActionEvent, getCategory, getDescription, getMenuCategory, getName, getParameters, getSetCategory, isLayoutAlgorithm, mayWorkOnMultipleGraphs, reset, setActionEvent, setParameters, showMenuIcon
-
Method Details
-
getResult
AlgorithmResult getResult()Returns theAlgorithmResultthat was computed by theAlgorithmduring the last execution. If there was no previous execution it returnsnull.- Returns:
- the
AlgorithmResultcomputed in the previous execution of theAlgorithm.
-