teamSpace.structure
Class TSPSM

java.lang.Object
  extended byteamSpace.structure.TSTMSTNode
      extended byteamSpace.structure.TSPSM

public class TSPSM
extends TSTMSTNode

The TSPSM class represents a PSM (problem solving method) which is defined in the TMST (task structure tree) kept by the PlanLibrary class. The class will only serve as a keeper of information about a psm.


Constructor Summary
TSPSM(java.lang.String name, java.lang.String input, java.lang.String executor, java.util.ArrayList partialResults)
          The constructor initializes the name, input executor and partial results of the problem solving method, by calling the super-class and by setting the partialResults variable.
 
Method Summary
 java.util.ArrayList getPartialResults()
          The method returns the partial results of a PSM
 
Methods inherited from class teamSpace.structure.TSTMSTNode
getExecutor, getInput, getName, getOutput, setOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TSPSM

public TSPSM(java.lang.String name,
             java.lang.String input,
             java.lang.String executor,
             java.util.ArrayList partialResults)
The constructor initializes the name, input executor and partial results of the problem solving method, by calling the super-class and by setting the partialResults variable.

Parameters:
name - - The name of the PSM
input - - The input of the PSM
executor - - The executor of the PSM
partialResults - - The partial results of the subtasks to this PSM
Method Detail

getPartialResults

public java.util.ArrayList getPartialResults()
The method returns the partial results of a PSM

Returns:
The partial results in an ArrayList