mas.agents0815.rules
Class RuleAnnoyEnemyZone

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

public class RuleAnnoyEnemyZone
extends Rule


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

RuleAnnoyEnemyZone

public RuleAnnoyEnemyZone()
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.