mas.agents0815.rules
Class RuleDefendZone

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

public class RuleDefendZone
extends Rule


Constructor Summary
RuleDefendZone()
           
 
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

RuleDefendZone

public RuleDefendZone()
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 © 2012. All Rights Reserved.