Package edu.tufts.hrilab.action.manager
Class AgentTeam
java.lang.Object
edu.tufts.hrilab.action.manager.AgentTeam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidprotected voidprotected voidaddParentTeam(AgentTeam parentTeam) protected booleancancelActionLearning(Predicate newAction) protected voidchangeLearningExecution(Symbol status) protected booleanendActionLearning(Predicate newAction) protected voidfreeze()getActiveGoal(long gid) protected Futureprotected ActionLearningStatusgetName()intgetResource(Symbol name) booleanisFrozen()booleanbooleanisRoot()protected booleanlearnAction(Predicate newAction) protected voidmodifyAction(Predicate action, Predicate modification, Predicate location) protected booleanpauseActionLearning(Predicate newAction) protected voidprotected FutureremoveGoal(Goal g) protected booleanresumeActionLearning(Predicate newAction) protected booleanprotected booleanshouldIgnore(Goal g) protected voidunfreeze()protected voidwaitForActionLearningStart(Predicate newAction)
-
Constructor Details
-
AgentTeam
-
-
Method Details
-
getName
-
addMember
-
addParentTeam
-
getMembers
-
getNumberOfMembers
public int getNumberOfMembers() -
getMemberNames
-
getMember
-
getParentTeam
-
isLeafAgent
public boolean isLeafAgent() -
isRoot
public boolean isRoot() -
addGoal
-
removeGoal
-
getGoalFuture
-
acquireGoalsLock
protected void acquireGoalsLock() -
releaseGoalsLock
protected void releaseGoalsLock() -
getActiveGoals
-
getActiveGoal
-
learnAction
-
endActionLearning
-
pauseActionLearning
-
resumeActionLearning
-
cancelActionLearning
-
getLearningStatus
-
waitForActionLearningStart
-
changeLearningExecution
-
modifyAction
-
shouldIgnore
-
addLearningGoal
-
shouldExecute
protected boolean shouldExecute() -
getResource
-
getResourceNames
-
getResources
-
freeze
protected void freeze() -
unfreeze
protected void unfreeze() -
isFrozen
public boolean isFrozen()
-