mas.agents0815.rules
Class RuleGotoNearestUnprobedVertex

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

public class RuleGotoNearestUnprobedVertex
extends Rule


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

RuleGotoNearestUnprobedVertex

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