org.graffiti.plugin.algorithm
Interface CalculatingAlgorithm

All Superinterfaces:
Algorithm, Parametrizable

public interface CalculatingAlgorithm
extends Algorithm

After its execution a CalculatingAlgorithm has computed an AlgorithmResult, that can be obtained through the getResult() method.

Version:
$Revision: 5767 $
See Also:
AlgorithmResult, Algorithm

Method Summary
 AlgorithmResult getResult()
          Returns the AlgorithmResult that was computed by the Algorithm during the last execution.
 
Methods inherited from interface org.graffiti.plugin.algorithm.Algorithm
attach, check, execute, getAnimation, reset, supportsAnimation
 
Methods inherited from interface org.graffiti.plugin.Parametrizable
getDefaultParameters, getName, getParameters, setParameters
 

Method Detail

getResult

AlgorithmResult getResult()
Returns the AlgorithmResult that was computed by the Algorithm during the last execution. If there was no previous execution it returns null.

Returns:
the AlgorithmResult computed in the previous execution of the Algorithm.


Generated at 2012-05-30 11:00:36 PM CEST