edu.udo.cs.ie.cowbots.internalActions.scout
Class considerWorldknown

Package class diagram package considerWorldknown
java.lang.Object
  extended by DefaultInternalAction
      extended by edu.udo.cs.ie.cowbots.internalActions.scout.considerWorldknown

public class considerWorldknown
extends DefaultInternalAction

Standalone-class for setting the "worldknown"-predicate in the scout-role (functionality also included in getScoutCandidate)


Field Summary
(package private)  ICowbot cowbot
           
(package private)  GridMap map
           
(package private)  int WorldKnownThreshold
           
 
Constructor Summary
considerWorldknown()
           
 
Method Summary
private  void consider(TransitionSystem ts)
          Utility function for counting the number of unexploreds and comparing it to the WorldKnownThreshold
 java.lang.Object execute(TransitionSystem ts, Unifier un, Term[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

GridMap map

cowbot

ICowbot cowbot

WorldKnownThreshold

int WorldKnownThreshold
Constructor Detail

considerWorldknown

public considerWorldknown()
Method Detail

execute

public java.lang.Object execute(TransitionSystem ts,
                                Unifier un,
                                Term[] args)
                         throws java.lang.Exception
Throws:
java.lang.Exception

consider

private void consider(TransitionSystem ts)
Utility function for counting the number of unexploreds and comparing it to the WorldKnownThreshold

Parameters:
ts - the Agents TransitionSystem