A C D E F G H I N O P R S T

A

action() - Method in class teamSpace.agent.CheckForActionsBehaviour
The method checks if there are any actions or PSMs that are ready to be executed or composed.
action() - Method in class teamSpace.agent.CheckTeamSpaceRequestsBehaviour
In this method the parallel behaviour is added.
action() - Method in class teamSpace.agent.DFRegisteringBehaviour
The method registeres the services of the agent that owns this method.
action() - Method in class teamSpace.agent.EndProblemSolvingBehaviour
The action method find out if the problem solving process is successful (sets the transition to SUCCESS) or if it is not complete or something are wrong (sets the transition END_PROBLEM_SOLVING_FAILED).
action() - Method in class teamSpace.agent.FailureBehaviour
The action method reports/specifies the failure, and returns a failure message to the TaskResponsible requesting for the TeamSpace.
action() - Method in class teamSpace.agent.PrepareResultBehaviour
The action method prepares and put the result/solution in the proper datastore; the datastore of the HandleProblemSolvingRequestBehaviour.
add(String) - Method in class teamSpace.structure.ResultLibrary
This method add a construct to the rule engine
add(String) - Method in class teamSpace.structure.RuleBase
This method add a construct to the rule engine
addProcessedActions(ArrayList) - Method in class teamSpace.structure.ResultLibrary
This method adds processed actions to the rule engine.
addProcessedActions(ArrayList) - Method in class teamSpace.structure.TeamSpace
The method adds processed actions to the Result Library
addProcessedPSMs(ArrayList) - Method in class teamSpace.structure.ResultLibrary
This method adds composed PSMs to the rule engine.
addProcessedPSMs(ArrayList) - Method in class teamSpace.structure.TeamSpace
The method adds composed PSMs to the Result Library

C

CHECK_FOR_ACTIONS_FAILED - Static variable in class teamSpace.agent.TeamSpacePSBehaviour
 
CheckForActionsBehaviour - class teamSpace.agent.CheckForActionsBehaviour.
This behaviour is a behaviour (state) in the FSMBehaviour (final-state-machine) described by the class TeamSpacePSBehaviour.
CheckForActionsBehaviour(Agent, String) - Constructor for class teamSpace.agent.CheckForActionsBehaviour
The constructor calls the super-constructor
CheckTeamSpaceRequestsBehaviour - class teamSpace.agent.CheckTeamSpaceRequestsBehaviour.
This class checks incoming request-messages, and add a parallel beahaviour where the requests are handled in parallel.
CheckTeamSpaceRequestsBehaviour(Agent) - Constructor for class teamSpace.agent.CheckTeamSpaceRequestsBehaviour
The constructor.

D

DFRegisteringBehaviour - class teamSpace.agent.DFRegisteringBehaviour.
This class contains the behaviour for registering a service with the DF, extends OneShotBehaviour
DFRegisteringBehaviour(Agent, ServiceDescription) - Constructor for class teamSpace.agent.DFRegisteringBehaviour
The constructor calls the super-constructor and sets the ServiceDescription of this class.
done() - Method in class teamSpace.agent.PrepareResultBehaviour
The agent scheduler calls this method to see whether a Behaviour still need to be run or it has completed its task.

E

END_PROBLEM_SOLVING_FAILED - Static variable in class teamSpace.agent.TeamSpacePSBehaviour
 
EndProblemSolvingBehaviour - class teamSpace.agent.EndProblemSolvingBehaviour.
This behaviour is a behaviour (state) in the FSMBehaviour (final-state-machine) described by the class TeamSpacePSBehaviour.
EndProblemSolvingBehaviour(Agent, String) - Constructor for class teamSpace.agent.EndProblemSolvingBehaviour
The constructor only calls the super-constructor.
executeRules() - Method in class teamSpace.structure.RuleBase
The method executes the rules in the ruleengine

F

FailureBehaviour - class teamSpace.agent.FailureBehaviour.
This class handles any failure that occurs during the process of solving a problem in the team space.
FailureBehaviour(Agent, DataStore, Behaviour, String) - Constructor for class teamSpace.agent.FailureBehaviour
The constructor only calls the super-constructor.

G

GoalStack - class teamSpace.structure.GoalStack.
This class contains the goal stack - meaning the goals that are readily achieved.
GoalStack(Rete) - Constructor for class teamSpace.structure.GoalStack
 
getAchievedGoals() - Method in class teamSpace.structure.GoalStack
This method returns an ArrayList of achieved goals
getAction(String) - Method in class teamSpace.structure.PlanLibrary
The method returns the action that is coupled to a task, and is part of the solution.
getActionInput(String) - Method in class teamSpace.structure.PlanLibrary
The method return the name of the input of an action.
getActionOutput(String) - Method in class teamSpace.structure.PlanLibrary
The method return the name of the output of an action
getActionType(String) - Method in class teamSpace.structure.PlanLibrary
The method returns the action-type of an action
getActionType() - Method in class teamSpace.structure.TSAction
The method returns the action type
getActionsReadyToExecute(String) - Method in class teamSpace.agent.TeamSpaceAgent
The method returns the actions that are ready to be executed.
getActionsReadyToExecute() - Method in class teamSpace.structure.ResultLibrary
This method return a list of the actions that are ready to be executed.
getActionsReadyToExecute() - Method in class teamSpace.structure.TeamSpace
The method returns the actions that are ready to be executed.
getComposedPSMs() - Method in class teamSpace.structure.ResultLibrary
This method returns a list of the composed PSMs.
getComposer() - Method in class teamSpace.structure.PlanLibrary
The method returns the composer of this problem, which is the agent, requesting the team space.
getExecutedActions() - Method in class teamSpace.structure.ResultLibrary
This method return a list of the executed actions.
getExecutor(String) - Method in class teamSpace.structure.PlanLibrary
The method returns the executor (agentname and adress) of an action
getExecutor() - Method in class teamSpace.structure.TSTMSTNode
The method returns the executor of the node.
getFileWriter(String) - Method in class teamSpace.agent.TeamSpaceAgent
This method returns the FileWriter that handles printing the output of the problem solving steps to a file.
getFileWriter() - Method in class teamSpace.structure.TeamSpace
This method returns the FileWriter that handles printing the output of the problem solving steps to a file.
getGoal(String) - Method in class teamSpace.structure.PlanLibrary
The method returns goal of a specified task.
getGoalOutput(String) - Method in class teamSpace.structure.GoalStack
This method returns the output of a goal.
getIODependencies(String) - Method in class teamSpace.structure.PlanLibrary
The method returns a list of strings describing IO-dependecies related to a psm.
getInitalInput() - Method in class teamSpace.structure.TeamSpace
The method returns the initial input
getInitialGoal() - Method in class teamSpace.structure.PlanLibrary
The method returns the initial goal as a string.
getInitialInput(String) - Method in class teamSpace.agent.TeamSpaceAgent
The method returns the initial input
getInitialInput() - Method in class teamSpace.structure.PlanLibrary
The method returns the initial input as a string.
getInitialProblem(String) - Method in class teamSpace.agent.TeamSpaceAgent
The method returns the initial problem
getInitialProblem() - Method in class teamSpace.structure.TeamSpace
The method returns the initial problem
getInitialTask() - Method in class teamSpace.structure.PlanLibrary
The method returns the name of the initial task
getInput() - Method in class teamSpace.structure.TSTMSTNode
The method returns the input of the node.
getInputValue(String) - Method in class teamSpace.structure.PlanLibrary
The method returns the inputvalue of the specified input
getName() - Method in class teamSpace.structure.TSGoal
The method returns the name of the goal
getName() - Method in class teamSpace.structure.TSTMSTNode
The method returns the name of the node.
getOutput() - Method in class teamSpace.structure.TSGoal
The method returns the output of the goal
getOutput() - Method in class teamSpace.structure.TSTMSTNode
The method returns the output of the node.
getOutputValue(String) - Method in class teamSpace.structure.PlanLibrary
The method returns the outputvalue of the specified output
getPSM(String) - Method in class teamSpace.structure.PlanLibrary
The method returns the PSM that is coupled to a task, and is part of the solution.
getPSMInput(String) - Method in class teamSpace.structure.PlanLibrary
The method return the name of the input of psm.
getPSMOutput(String) - Method in class teamSpace.structure.PlanLibrary
The method return the name of the output of a psm (problem solving method)
getPSMsReadyToCompose(String) - Method in class teamSpace.agent.TeamSpaceAgent
The method returns the PSMs that are ready to be composed.
getPSMsReadyToCompose() - Method in class teamSpace.structure.ResultLibrary
This method returns a list of PSMs that are ready to be composed.
getPSMsReadyToCompose() - Method in class teamSpace.structure.TeamSpace
The method returns the PSMs that are ready to be composed.
getPartialResults() - Method in class teamSpace.structure.TSPSM
The method returns the partial results of a PSM
getProblemSolution(String) - Method in class teamSpace.agent.TeamSpaceAgent
The method returns the solution to the initial problem
getProblemSolution() - Method in class teamSpace.structure.TeamSpace
The method returns the solution to the initial problem
getProcessingActions(String) - Method in class teamSpace.agent.TeamSpaceAgent
The method returns the processing actions - the actions to be executed in the current state of the problem solving process
getProcessingActions() - Method in class teamSpace.structure.TeamSpace
The method returns the processing actions - the actions to be executed in the current state of the problem solving process
getProcessingPSMs(String) - Method in class teamSpace.agent.TeamSpaceAgent
The method returns the processing PSMs - the PSMs to be composed in the current state of the problem solving process
getProcessingPSMs() - Method in class teamSpace.structure.TeamSpace
The method returns the processing PSMs - the PSMs to be composed in the current state of the problem solving process
getTaskInput(String) - Method in class teamSpace.structure.PlanLibrary
The method return the name of the input of a task.
getTaskOutput(String) - Method in class teamSpace.structure.PlanLibrary
The method return the name of the output of a task
getTasks(String) - Method in class teamSpace.structure.PlanLibrary
The method returns an array with the tasks connected to a psm.
getTeamID() - Method in class teamSpace.structure.PlanLibrary
The method returns the teamID stored in the TMST as an int.
getTeamID() - Method in class teamSpace.structure.TeamSpace
The method returns the teamID
getTeamSpace(String) - Method in class teamSpace.agent.TeamSpaceAgent
This method returns the TeamSpace with the specified teamID

H

HANDLE_ACTIONS_FAILED - Static variable in class teamSpace.agent.TeamSpacePSBehaviour
 
HandleActionsBehaviour - class teamSpace.agent.HandleActionsBehaviour.
This behaviour is a behaviour (state) in the FSMBehaviour (final-state-machine) described by the class TeamSpacePSBehaviour.
HandleActionsBehaviour(Agent, ACLMessage, String) - Constructor for class teamSpace.agent.HandleActionsBehaviour
The constructor calls the super-constructor.
handleAgree(ACLMessage) - Method in class teamSpace.agent.HandleActionsBehaviour
Method is called when an AGREE message is received.
handleAllResultNotifications(Vector) - Method in class teamSpace.agent.HandleActionsBehaviour
The method is called when all result notifications are received.
handleFailure(ACLMessage) - Method in class teamSpace.agent.HandleActionsBehaviour
Method is called when a FAILURE message is received.
handleInform(ACLMessage) - Method in class teamSpace.agent.HandleActionsBehaviour
The method is called when an INFORM message is received.
handleNotUnderstood(ACLMessage) - Method in class teamSpace.agent.HandleActionsBehaviour
Method is called when a NOT_UNDERSTOOD message is received.
handleRefuse(ACLMessage) - Method in class teamSpace.agent.HandleActionsBehaviour
Method is called when a REFUSE message is received.

I

initialize() - Method in class teamSpace.structure.ResultLibrary
The method initializes the result library by adding templates for how constructs (facts) should be represented in the rule base.
initialize(PlanLibrary) - Method in class teamSpace.structure.RuleBase
This method starts the initialization process of the rule base
initialize() - Method in class teamSpace.structure.TeamSpace
The method initializes the Team Space and it's parts.
initializeAction(String) - Method in class teamSpace.structure.RuleBase
The method translate information about an action from the tmst into rules used by the rule-engine part of the team-space.
initializePSM(String) - Method in class teamSpace.structure.RuleBase
The method translate information about a psm from the tmst into rules used by the rule-engine part of the team-space.
initializeTask(String) - Method in class teamSpace.structure.RuleBase
The method translate information about a task from the tmst into rules used by the rule-engine part of the team-space.
initializeTeamSpace(TMST, String, String) - Method in class teamSpace.agent.TeamSpaceAgent
The method initializes the Team Space.

N

NO_MORE_ACTIONS - Static variable in class teamSpace.agent.TeamSpacePSBehaviour
 

O

onEnd() - Method in class teamSpace.agent.CheckForActionsBehaviour
The method resets this behaviour and returns the transition (for the FSM)
onEnd() - Method in class teamSpace.agent.EndProblemSolvingBehaviour
The method resets this behaviour and returns the transition (for the FSM)
onEnd() - Method in class teamSpace.agent.FailureBehaviour
The method resets this behaviour and returns the transition from this state (behaviour).
onEnd() - Method in class teamSpace.agent.HandleActionsBehaviour
The method resets this behaviour and returns the transition (for the FSM)
onEnd() - Method in class teamSpace.agent.PrepareResultBehaviour
This method is called when the behaviour has finished.
onEnd() - Method in class teamSpace.agent.TeamSpaceAgentBehaviour
Information from the last execution of this behaviour is reset and the behaviour is added to the agent again
onEnd() - Method in class teamSpace.agent.TeamSpacePSBehaviour
The method resets this behaviour and returns the transition from this state (behaviour).
onStart() - Method in class teamSpace.agent.TeamSpacePSBehaviour
The method initializes the FSM-behaviour and the different transitions

P

PREPARERESULT_BEHAVIOUR_FAILED - Static variable in class teamSpace.agent.TeamSpacePSBehaviour
 
PlanLibrary - class teamSpace.structure.PlanLibrary.
This class represents the plan of the problem solving process, and serves as an interface to the TMST.
PlanLibrary(TMST, String) - Constructor for class teamSpace.structure.PlanLibrary
The constructor
PrepareResultBehaviour - class teamSpace.agent.PrepareResultBehaviour.
This behaviour is the last behaviour (state) in the FSMBehaviour (final-state-machine) described by the class TeamSpacePSBehaviour.
PrepareResultBehaviour(Agent, DataStore, Behaviour, String) - Constructor for class teamSpace.agent.PrepareResultBehaviour
The constructor
prepareRequests(ACLMessage) - Method in class teamSpace.agent.HandleActionsBehaviour
This method prepares the requests for executors of the different actions and PSMs that are ready to execute or compose.
prepareResponse(ACLMessage) - Method in class teamSpace.agent.TeamSpaceAgentBehaviour
This method is an extention to the same method of the superclass.
printCurrentState(String) - Method in class teamSpace.agent.TeamSpaceAgent
The method prints the current state of the problem solving in the Team Space.
printCurrentState() - Method in class teamSpace.structure.TeamSpace
The method prints the current state of the problem solving in the Team Space.

R

ResultLibrary - class teamSpace.structure.ResultLibrary.
This class represents the results and methods for extracting information about them.
ResultLibrary(Rete) - Constructor for class teamSpace.structure.ResultLibrary
The constructor
RuleBase - class teamSpace.structure.RuleBase.
This class reprsents the Rule Base of the TEAM SPACE structure and is an interface to the rules in the rule engine.
RuleBase(Rete) - Constructor for class teamSpace.structure.RuleBase
The constructor.

S

SUCCESS - Static variable in class teamSpace.agent.TeamSpacePSBehaviour
 
setFileWriter(FileWriter) - Method in class teamSpace.structure.GoalStack
This method sets the FileWriter that handles printing the output of the problem solving steps to a file.
setFileWriter(FileWriter) - Method in class teamSpace.structure.PlanLibrary
This method sets the FileWriter that handles printing the output of the problem solving steps to a file.
setFileWriter(FileWriter) - Method in class teamSpace.structure.ResultLibrary
This method sets the FileWriter that handles printing the output of the problem solving steps to a file.
setFileWriter(FileWriter) - Method in class teamSpace.structure.RuleBase
This method sets the FileWriter that handles printing the output of the problem solving steps to a file.
setOutput(String) - Method in class teamSpace.structure.TSTMSTNode
The method sets the output of the node.
setProcessedActions(ArrayList, String) - Method in class teamSpace.agent.TeamSpaceAgent
The method adds a list of actions to the processed actions list
setProcessedPSMs(ArrayList, String) - Method in class teamSpace.agent.TeamSpaceAgent
The method adds a list of psms to the processed psms list
setProcessingActions(ArrayList, String) - Method in class teamSpace.agent.TeamSpaceAgent
This method sets the actions that are going to be processed.
setProcessingActions(ArrayList) - Method in class teamSpace.structure.TeamSpace
This method sets the actions that are going to be processed.
setProcessingPSMs(ArrayList, String) - Method in class teamSpace.agent.TeamSpaceAgent
This method sets the psms that are going to be composed.
setProcessingPSMs(ArrayList) - Method in class teamSpace.structure.TeamSpace
This method sets the psms that are going to be composed.
setServiceDescription() - Method in class teamSpace.agent.TeamSpaceAgent
The method returns the service description of the agent.
setup() - Method in class teamSpace.agent.TeamSpaceAgent
The method sets up the agent's behaviours.

T

TSAction - class teamSpace.structure.TSAction.
The TSPSM class represents an action which is defined in the TMST (task structure tree) kept by the PlanLibrary class.
TSAction(String, String, String, String) - Constructor for class teamSpace.structure.TSAction
The constructor initializes the name, input executor and partial results of the action, by calling the super-class and by setting the actionType variable.
TSGoal - class teamSpace.structure.TSGoal.
The TSGoal class represents a goal whichs is defined in the TMST (task structure tree) kept by the PlanLibrary class.
TSGoal(String, String) - Constructor for class teamSpace.structure.TSGoal
The constructor instantiate the name and the output of the goal.
TSPSM - class teamSpace.structure.TSPSM.
The TSPSM class represents a PSM (problem solving method) which is defined in the TMST (task structure tree) kept by the PlanLibrary class.
TSPSM(String, String, String, ArrayList) - Constructor for class teamSpace.structure.TSPSM
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.
TSTMSTNode - class teamSpace.structure.TSTMSTNode.
The TSTMSTNode class represents a executable node (action or psm) which is defined in the TMST (task structure tree) kept by the PlanLibrary class.
TSTMSTNode(String, String, String) - Constructor for class teamSpace.structure.TSTMSTNode
The constructor instantiate the name, input and executor of the node.
TeamSpace - class teamSpace.structure.TeamSpace.
This class represents the Team Space and it serves as an interface to all of the important part of the Team Space
TeamSpace(TMST, String, String) - Constructor for class teamSpace.structure.TeamSpace
The constructor instantiates the different parts of the Team Space.
TeamSpaceAgent - class teamSpace.agent.TeamSpaceAgent.
This class represents the agent that controls the Team Space
TeamSpaceAgent() - Constructor for class teamSpace.agent.TeamSpaceAgent
 
TeamSpaceAgentBehaviour - class teamSpace.agent.TeamSpaceAgentBehaviour.
The name of this class should be changed.
TeamSpaceAgentBehaviour(Agent, MessageTemplate, DataStore) - Constructor for class teamSpace.agent.TeamSpaceAgentBehaviour
The constructor calls the superconstructor and register a behaviour that should handle the prepareResultNotification part of the conversation (protocol).
TeamSpacePSBehaviour - class teamSpace.agent.TeamSpacePSBehaviour.
This class represents the final-state-machine behaviour that encapsulates the core behaviour of the TeamSpaceAgent.
TeamSpacePSBehaviour(Agent, String) - Constructor for class teamSpace.agent.TeamSpacePSBehaviour
The constructor calls the super-constructor.
teamSpace.agent - package teamSpace.agent
 
teamSpace.structure - package teamSpace.structure
 

A C D E F G H I N O P R S T