|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectteamSpace.structure.PlanLibrary
This class represents the plan of the problem solving process, and serves as an interface to the TMST. It has different methods to extract information from the plan.
Constructor Summary | |
PlanLibrary(TMST tmst,
java.lang.String composer)
The constructor |
Method Summary | |
java.lang.String |
getAction(java.lang.String taskName)
The method returns the action that is coupled to a task, and is part of the solution. |
java.lang.String |
getActionInput(java.lang.String actionName)
The method return the name of the input of an action. |
java.lang.String |
getActionOutput(java.lang.String actionName)
The method return the name of the output of an action |
java.lang.String |
getActionType(java.lang.String actionName)
The method returns the action-type of an action |
java.lang.String |
getComposer()
The method returns the composer of this problem, which is the agent, requesting the team space. |
java.lang.String |
getExecutor(java.lang.String actionName)
The method returns the executor (agentname and adress) of an action |
java.lang.String |
getGoal(java.lang.String taskName)
The method returns goal of a specified task. |
java.lang.String |
getInitialGoal()
The method returns the initial goal as a string. |
java.lang.String |
getInitialInput()
The method returns the initial input as a string. |
java.lang.String |
getInitialTask()
The method returns the name of the initial task |
java.lang.String |
getInputValue(java.lang.String inputName)
The method returns the inputvalue of the specified input |
java.util.ArrayList |
getIODependencies(java.lang.String psmName)
The method returns a list of strings describing IO-dependecies related to a psm. |
java.lang.String |
getOutputValue(java.lang.String outputName)
The method returns the outputvalue of the specified output |
java.lang.String |
getPSM(java.lang.String taskName)
The method returns the PSM that is coupled to a task, and is part of the solution. |
java.lang.String |
getPSMInput(java.lang.String psmName)
The method return the name of the input of psm. |
java.lang.String |
getPSMOutput(java.lang.String psmName)
The method return the name of the output of a psm (problem solving method) |
java.lang.String |
getTaskInput(java.lang.String taskName)
The method return the name of the input of a task. |
java.lang.String |
getTaskOutput(java.lang.String taskName)
The method return the name of the output of a task |
java.lang.String[] |
getTasks(java.lang.String psmName)
The method returns an array with the tasks connected to a psm. |
int |
getTeamID()
The method returns the teamID stored in the TMST as an int. |
void |
setFileWriter(FileWriter fileWriter)
This method sets the FileWriter that handles printing the output of the problem solving steps to a file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PlanLibrary(TMST tmst, java.lang.String composer)
tmst
- The TMST (task structure tree) that has problem solving information (the plan)composer
- The name-adress of the requester of the problemMethod Detail |
public void setFileWriter(FileWriter fileWriter)
fileWriter
- Reference to the FileWriter used by all agents working on the problem of one certain TRpublic java.lang.String getInitialTask()
public java.lang.String getPSM(java.lang.String taskName)
taskName
- - The name of the task which it's PSM should be returned
public java.lang.String getAction(java.lang.String taskName)
taskName
- - The name of the task
public java.lang.String[] getTasks(java.lang.String psmName)
psmName
- - The name of the problem solving method
public java.lang.String getActionInput(java.lang.String actionName)
actionName
- - The name of the action
public java.lang.String getActionOutput(java.lang.String actionName)
actionName
- - The name of the action
public java.lang.String getTaskInput(java.lang.String taskName)
taskName
- - The name of the task
public java.lang.String getTaskOutput(java.lang.String taskName)
taskName
- - The name of the task
public java.lang.String getPSMInput(java.lang.String psmName)
psmName
- - The name of the psm
public java.lang.String getPSMOutput(java.lang.String psmName)
psmName
- - The name of the psm
public java.util.ArrayList getIODependencies(java.lang.String psmName)
psmName
- - The name of the psm
public java.lang.String getExecutor(java.lang.String actionName)
actionName
- - The name of the action
public java.lang.String getActionType(java.lang.String actionName)
actionName
- - The name of the action
public java.lang.String getComposer()
public java.lang.String getInputValue(java.lang.String inputName)
inputName
- - The specified input
public java.lang.String getOutputValue(java.lang.String outputName)
outputName
- - The specified output
public java.lang.String getGoal(java.lang.String taskName)
taskName
- - The specified task
public java.lang.String getInitialGoal()
public java.lang.String getInitialInput()
public int getTeamID()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |