mas.agents0815.rules
Class RuleCheckGoals

java.lang.Object
  extended by mas.agents0815.rules.Rule
      extended by mas.agents0815.rules.RuleCheckGoals

public class RuleCheckGoals
extends Rule


Constructor Summary
RuleCheckGoals()
           
 
Method Summary
 boolean fire(java.util.Collection<eis.iilang.Percept> percepts, java.util.Collection<apltk.interpreter.data.LogicBelief> beliefs, java.util.Collection<apltk.interpreter.data.LogicGoal> goals, SubsumptionAgent agent)
           
 
Methods inherited from class mas.agents0815.rules.Rule
getAction, setAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleCheckGoals

public RuleCheckGoals()
Method Detail

fire

public boolean fire(java.util.Collection<eis.iilang.Percept> percepts,
                    java.util.Collection<apltk.interpreter.data.LogicBelief> beliefs,
                    java.util.Collection<apltk.interpreter.data.LogicGoal> goals,
                    SubsumptionAgent agent)
Specified by:
fire in class Rule
Returns:
yes, if rule fires, no, if rule fires not


Copyright © 2011. All Rights Reserved.