Class AgentTeam

java.lang.Object
edu.tufts.hrilab.action.manager.AgentTeam

public class AgentTeam extends Object
  • Constructor Details

  • Method Details

    • getName

      public Symbol getName()
    • addMember

      protected void addMember(AgentTeam member)
    • addParentTeam

      protected void addParentTeam(AgentTeam parentTeam)
    • getMembers

      public Map<Symbol,AgentTeam> getMembers()
    • getNumberOfMembers

      public int getNumberOfMembers()
    • getMemberNames

      public Set<Symbol> getMemberNames()
    • getMember

      public AgentTeam getMember(Symbol memberName)
    • getParentTeam

      public AgentTeam getParentTeam()
    • isLeafAgent

      public boolean isLeafAgent()
    • isRoot

      public boolean isRoot()
    • addGoal

      protected void addGoal(Goal g, Future future)
    • removeGoal

      protected Future removeGoal(Goal g)
    • getGoalFuture

      protected Future getGoalFuture(Goal g)
    • acquireGoalsLock

      protected void acquireGoalsLock()
    • releaseGoalsLock

      protected void releaseGoalsLock()
    • getActiveGoals

      public Set<Goal> getActiveGoals()
    • getActiveGoal

      public Goal getActiveGoal(long gid)
    • learnAction

      protected boolean learnAction(Predicate newAction)
    • endActionLearning

      protected boolean endActionLearning(Predicate newAction)
    • pauseActionLearning

      protected boolean pauseActionLearning(Predicate newAction)
    • resumeActionLearning

      protected boolean resumeActionLearning(Predicate newAction)
    • cancelActionLearning

      protected boolean cancelActionLearning(Predicate newAction)
    • getLearningStatus

      protected ActionLearningStatus getLearningStatus()
    • waitForActionLearningStart

      protected void waitForActionLearningStart(Predicate newAction)
    • changeLearningExecution

      protected void changeLearningExecution(Symbol status)
    • modifyAction

      protected void modifyAction(Predicate action, Predicate modification, Predicate location)
    • shouldIgnore

      protected boolean shouldIgnore(Goal g)
    • addLearningGoal

      protected void addLearningGoal(Goal g)
    • shouldExecute

      protected boolean shouldExecute()
    • getResource

      public Resource getResource(Symbol name)
    • getResourceNames

      public Set<Symbol> getResourceNames()
    • getResources

      public Set<Resource> getResources()
    • freeze

      protected void freeze()
    • unfreeze

      protected void unfreeze()
    • isFrozen

      public boolean isFrozen()