|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectLocalKnowledgeModel
TMST.representation.TMST
Constructor Summary | |
TMST()
|
|
TMST(java.lang.String file)
|
Method Summary | |
void |
activate()
Method for activating the all entities in the tmst which are solvable. |
void |
analyzeAndPrint()
Method printing all entities part of the tmst to stdout. |
void |
dependencyAnalyzation()
Method for extracting input/output dependencies from all PSMs in the TMST. |
boolean |
generateSolution()
Method for generating the solution of a tmst. |
boolean |
generateSolutionSpace()
Method for generating the solution space of a tmst. |
Action |
getAction(java.lang.String actionname)
Method returning the specified action, or null if it does not exist. |
Action[] |
getActions(java.lang.String actionType)
Method for getting all actions with a specified type |
Action[] |
getAllActions()
Method returning the names of all actions part of the TMST as Strings. |
Executor[] |
getAllExecutors()
Method returning all executors part of the TMST. |
java.util.ArrayList |
getAllProblemSolvingMethods()
Method returning all the problem solving methods part of a TMST. |
java.util.ArrayList |
getAllTasks()
Method returning all tasks part of the TMST. |
FileWriter |
getFileWriter()
Method returning the filewriter of this TMST. |
java.lang.String |
getInitialInput()
Method getting the initial input of the problem solving. |
Task |
getInitialProblem()
Method returning the initial problem of this task structure tree, or null if it does not exist. |
ProblemSolvingMethod |
getProblemSolvingMethod(java.lang.String psmname)
Method returning the specified problem solving method, or null if it does not exist. |
Task |
getTask(java.lang.String taskname)
Method returning the specified task, or null if it does not exist. |
int |
getTeamID()
Method returning the teamID of this TMST New method added by Kari Roessland. |
boolean |
isSpacePart(Entity ent)
Method for tagging an entity part of the solution space. |
void |
printSolutionAndCost()
Method printing enitities part of the solution and the cost related to them. |
void |
setAsInitialProblem(Task initialProblem)
Method for setting a task as the initial problem to solve - the root node in the task-method tree structure. |
void |
setFileWriter(FileWriter fileWriter)
Method setting the filewriter, by giving the name of a file New method added by Kari Roessland. |
void |
setInitialInput(java.lang.String input)
Method setting the initial input of the problem solving. |
void |
setTeamID(int id)
Method setting the teamID of this TMST New method added by Kari Roessland. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TMST()
public TMST(java.lang.String file) throws java.io.IOException, java.lang.ClassNotFoundException
Method Detail |
public void setFileWriter(FileWriter fileWriter)
public FileWriter getFileWriter()
public int getTeamID()
public void setTeamID(int id)
id
- - the teamIDpublic void setInitialInput(java.lang.String input)
input
- The initial inputpublic java.lang.String getInitialInput()
public Action getAction(java.lang.String actionname)
public Action[] getActions(java.lang.String actionType)
public Task getTask(java.lang.String taskname)
taskname
-
public java.util.ArrayList getAllProblemSolvingMethods()
public Action[] getAllActions()
public java.util.ArrayList getAllTasks()
public Executor[] getAllExecutors()
public ProblemSolvingMethod getProblemSolvingMethod(java.lang.String psmname)
public Task getInitialProblem()
public void printSolutionAndCost()
public void setAsInitialProblem(Task initialProblem) throws java.lang.Exception
java.lang.Exception
public void dependencyAnalyzation()
public boolean generateSolutionSpace() throws NameAlreadyExistException
NameAlreadyExistException
public boolean isSpacePart(Entity ent)
ent
- - the entity to be taggedpublic boolean generateSolution() throws NameAlreadyExistException
NameAlreadyExistException
public void activate()
public void analyzeAndPrint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |