edu.udo.cs.ie.cowbots.bdi.desgen
Class FastCowbotDesireComponent
java.lang.Object
edu.udo.cs.ie.cowbots.bdi.desgen.DesireComponent
edu.udo.cs.ie.cowbots.bdi.desgen.FastCowbotDesireComponent
public class FastCowbotDesireComponent
- extends DesireComponent
Fast, java-based class for generating desires for
the cowbot scenario. Not really flexible, but much
faster than java supported dlv calls...
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cowRadius
static final int cowRadius
- See Also:
- Constant Field Values
enable_scouting
static final boolean enable_scouting
- See Also:
- Constant Field Values
enable_cowdriving
static final boolean enable_cowdriving
- See Also:
- Constant Field Values
enable_helping
static final boolean enable_helping
- See Also:
- Constant Field Values
kill_all
static final boolean kill_all
- See Also:
- Constant Field Values
cluster2corralUseCenter
protected boolean cluster2corralUseCenter
topCluster
CowCluster topCluster
clusters
java.util.List<CowCluster> clusters
ui
ICowbotUI ui
FastCowbotDesireComponent
public FastCowbotDesireComponent(ICowbotUI ui)
getDesireState
public IDesireState getDesireState()
- Provides access to the agents current desirestate.
- Overrides:
getDesireState
in class DesireComponent
- Returns:
- Current agents desirestate
updateDesireState
public IDesireState updateDesireState(IEpistemicState bel)
- Updates the agents desirestate based on provided
beliefs.
- Overrides:
updateDesireState
in class DesireComponent
- Parameters:
Current
- agents beliefs to update desirestate
- Returns:
- The updated desirestate
getCowCLusters
public java.util.List<CowCluster> getCowCLusters()