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: 5767 $
See Also:
CalculatingAlgorithm

Method Summary
 void addToResult(String key, Object value)
          Adds a key-value pair to the Map.
 Object[] getComponentsForJDialog()
           
 Map<String,Object> getResult()
          Returns the Map.
 void setComponentForJDialog(Object comp)
           
 void setComponentsForJDialog(Object[] comps)
           
 

Method Detail

getResult

Map<String,Object> getResult()
Returns the Map. This function is intended to be used by other components that want to display the results.

Returns:
DOCUMENT ME!

addToResult

void addToResult(String key,
                 Object value)
Adds a key-value pair to the Map.

Parameters:
key - the key for the result.
value - the value of the result.

setComponentsForJDialog

void setComponentsForJDialog(Object[] comps)

setComponentForJDialog

void setComponentForJDialog(Object comp)

getComponentsForJDialog

Object[] getComponentsForJDialog()


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