Package org.graffiti.plugin.algorithm
Interface AlgorithmResult
- All Known Implementing Classes:
DefaultAlgorithmResult
public interface AlgorithmResult
An
AlgorithmResult is a map of results that were computed by a
CalculatingAlgorithm. It maps the name of a result to the
corresponding value.- Version:
- $Revision: 1.5 $
- See Also:
CalculatingAlgorithm
-
Method Summary
Modifier and Type Method Description voidaddToResult(String key, Object value)Adds a key-value pair to theMap.Map<?,?>getResult()Returns theMap.
-
Method Details
-
getResult
Map<?,?> getResult()Returns theMap. This function is intended to be used by other components that want to display the results.- Returns:
- DOCUMENT ME!
-
addToResult
Adds a key-value pair to theMap.- Parameters:
key- the key for the result.value- the value of the result.
-