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 AlgorithmResult
getResult()
Returns theAlgorithmResult
that was computed by theAlgorithm
during 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 theAlgorithmResult
that was computed by theAlgorithm
during the last execution. If there was no previous execution it returnsnull
.- Returns:
- the
AlgorithmResult
computed in the previous execution of theAlgorithm
.
-