mas.agents0815.rules
Class RuleAttackEnemyZone

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

public class RuleAttackEnemyZone
extends Rule


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

RuleAttackEnemyZone

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