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 booleancancelActionLearning(Predicate newAction) protected voidchangeLearningExecution(Symbol status) protected booleanendActionLearning(Predicate newAction) protected voidfreeze()getActiveGoal(long gid) protected Predicateprotected Futureprotected ActionLearningStatusgetName()intgetResource(Symbol name) protected voidbooleanisFrozen()booleanbooleanbooleanisRoot()protected booleanlearnAction(Predicate newAction) protected voidmodifyAction(Predicate action, Predicate modification, Predicate location) protected booleanpauseActionLearning(Predicate newAction) protected voidprotected FutureremoveGoal(Goal g) protected voidremoveMember(AgentTeam member) protected booleanresumeActionLearning(Predicate newAction) protected voidsetParentTeam(AgentTeam parentTeam) protected booleanprotected booleanshouldIgnore(Goal g) protected voidunfreeze()protected voidwaitForActionLearningStart(Predicate newAction) protected booleanwaitForLearningStateUpdate(Predicate action)
-
Constructor Details
-
AgentTeam
-
-
Method Details
-
getName
-
addMember
-
removeMember
-
setParentTeam
-
getMembers
-
getNumberOfMembers
public int getNumberOfMembers() -
getMemberNames
-
isMember
-
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
-
waitForLearningStateUpdate
-
interruptWaitForLearningStateUpdate
-
shouldExecute
protected boolean shouldExecute() -
getActiveLearningSignature
-
getResource
-
getResourceNames
-
getResources
-
freeze
protected void freeze() -
unfreeze
protected void unfreeze() -
isFrozen
public boolean isFrozen()
-