edu.udo.cs.ie.cowbots.bdi.desgen
Class FastCowbotDesireComponent

Package class diagram package FastCowbotDesireComponent
java.lang.Object
  extended by edu.udo.cs.ie.cowbots.bdi.desgen.DesireComponent
      extended by 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...


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.udo.cs.ie.cowbots.bdi.desgen.DesireComponent
DesireComponent.ReadState
 
Field Summary
protected  boolean cluster2corralUseCenter
           
(package private)  java.util.List<CowCluster> clusters
           
(package private) static int cowRadius
           
(package private) static boolean enable_cowdriving
           
(package private) static boolean enable_helping
           
(package private) static boolean enable_scouting
           
(package private) static boolean kill_all
           
(package private)  CowCluster topCluster
           
(package private)  ICowbotUI ui
           
 
Fields inherited from class edu.udo.cs.ie.cowbots.bdi.desgen.DesireComponent
desireState, motiveSet
 
Constructor Summary
FastCowbotDesireComponent(ICowbotUI ui)
           
 
Method Summary
 java.util.List<CowCluster> getCowCLusters()
           
 IDesireState getDesireState()
          Provides access to the agents current desirestate.
 IDesireState updateDesireState(IEpistemicState bel)
          Updates the agents desirestate based on provided beliefs.
 
Methods inherited from class edu.udo.cs.ie.cowbots.bdi.desgen.DesireComponent
loadMotivesFromDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

FastCowbotDesireComponent

public FastCowbotDesireComponent(ICowbotUI ui)
Method Detail

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()