edu.udo.cs.ie.cowbots.internalActions.scout
Class considerWorldknown
java.lang.Object
DefaultInternalAction
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)
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 |
map
GridMap map
cowbot
ICowbot cowbot
WorldKnownThreshold
int WorldKnownThreshold
considerWorldknown
public considerWorldknown()
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