|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.ie.cowbots.bdi.delib.DeliberationComponent
public class DeliberationComponent
Field Summary | |
---|---|
private desire |
internalActionDesire
|
private double |
k
|
private CDesire |
lastGoal
|
protected java.util.logging.Logger |
logger
|
Constructor Summary | |
---|---|
DeliberationComponent(java.lang.String agName)
Empty constructor for DeliberationComponent. |
Method Summary | |
---|---|
Option |
choose(java.util.List<Option> options)
called by CowbotAgent by selectOption method Returnes one Option (Plan) from all available Plans, that were unified with current Trigger. |
double |
getK()
|
CDesire |
getLastGoal()
|
Event |
reconsider(java.util.Queue<Event> events,
IDesireState desireState,
TransitionSystem ts)
More compact approach by Michael. |
void |
reconsiderMessage(IEpistemicState es,
TransitionSystem ts,
java.lang.String agName)
this method handles received, but yet unprocessed messages. |
Intention |
select(java.util.Queue<Intention> intentions)
Picks the intention for the current goal from a Queue of intentions. |
void |
setK(double k)
|
void |
setLastGoal(CDesire lastGoal)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private CDesire lastGoal
private double k
private desire internalActionDesire
protected java.util.logging.Logger logger
Constructor Detail |
---|
public DeliberationComponent(java.lang.String agName)
Method Detail |
---|
public CDesire getLastGoal()
public void setLastGoal(CDesire lastGoal)
lastGoal
- the lastGoal to setpublic double getK()
public void setK(double k)
k
- the k to setpublic Event reconsider(java.util.Queue<Event> events, IDesireState desireState, TransitionSystem ts)
events
- Agent's event Queue with triggersdesireState
- is the current Agent's Desirestatets
- public void reconsiderMessage(IEpistemicState es, TransitionSystem ts, java.lang.String agName)
es
- ts
- public Option choose(java.util.List<Option> options)
public Intention select(java.util.Queue<Intention> intentions)
intentions
- the current List of Intentions the Agent has
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |