<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_20) on Mon Sep 22 13:06:34 BRT 2014 -->
<title>AbstractBDIAgent</title>
<meta name="date" content="2014-09-22">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractBDIAgent";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractBDIAgent.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-files/index-1.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?bdi4jade/core/AbstractBDIAgent.html" target="_top">Frames</a></li>
<li><a href="AbstractBDIAgent.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested.classes.inherited.from.class.jade.core.Agent">Nested</a> | </li>
<li><a href="#field.summary">Field</a> | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field.detail">Field</a> | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">bdi4jade.core</div>
<h2 title="Class AbstractBDIAgent" class="title">Class AbstractBDIAgent</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>jade.core.Agent</li>
<li>
<ul class="inheritance">
<li>bdi4jade.core.AbstractBDIAgent</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a>, jade.core.TimerListener, java.io.Serializable, java.lang.Runnable</dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../bdi4jade/core/MultipleCapabilityAgent.html" title="class in bdi4jade.core">MultipleCapabilityAgent</a>, <a href="../../bdi4jade/core/SingleCapabilityAgent.html" title="class in bdi4jade.core">SingleCapabilityAgent</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractBDIAgent</span>
extends jade.core.Agent
implements <a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></pre>
<div class="block">This class is an abstract implementation of the <a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core"><code>BDIAgent</code></a> interface.
It is an extension of <code>Agent</code>. It also has a set of <a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core"><code>Capability</code></a>
- an agent is an aggregation of capabilities, and a <code>MsgReceiver</code>
behavior to receive all messages that the agent current plans can process.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Ingrid Nunes</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../serialized-form.html#bdi4jade.core.AbstractBDIAgent">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.jade.core.Agent">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class jade.core.Agent</h3>
<code>jade.core.Agent.Interrupted</code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.util.List<<a href="../../bdi4jade/event/GoalListener.html" title="interface in bdi4jade.event">GoalListener</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#goalListeners">goalListeners</a></span></code> </td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.jade.core.Agent">
<!-- -->
</a>
<h3>Fields inherited from class jade.core.Agent</h3>
<code>AP_ACTIVE, AP_DELETED, AP_IDLE, AP_INITIATED, AP_MAX, AP_MIN, AP_SUSPENDED, AP_WAITING, D_ACTIVE, D_MAX, D_MIN, D_RETIRED, D_SUSPENDED, D_UNKNOWN, MSG_QUEUE_CLASS</code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#AbstractBDIAgent--">AbstractBDIAgent</a></span>()</code>
<div class="block">Default constructor.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#addGoal-bdi4jade.core.Capability-bdi4jade.goal.Goal-">addGoal</a></span>(<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a> dispatcher,
<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal)</code>
<div class="block">Adds a new goal to this agent to be achieved.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#addGoal-bdi4jade.core.Capability-bdi4jade.goal.Goal-bdi4jade.event.GoalListener-">addGoal</a></span>(<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a> dispatcher,
<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal,
<a href="../../bdi4jade/event/GoalListener.html" title="interface in bdi4jade.event">GoalListener</a> goalListener)</code>
<div class="block">Adds a new goal to this agent to be achieved and adds a listener to
observe events related to this goal.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#addGoal-bdi4jade.goal.Goal-">addGoal</a></span>(<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal)</code>
<div class="block">Adds a new goal to this agent to be achieved.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#addGoal-bdi4jade.goal.Goal-bdi4jade.event.GoalListener-">addGoal</a></span>(<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal,
<a href="../../bdi4jade/event/GoalListener.html" title="interface in bdi4jade.event">GoalListener</a> goalListener)</code>
<div class="block">Adds a new goal to this agent to be achieved and adds a listener to
observe events related to this goal.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#addGoalListener-bdi4jade.event.GoalListener-">addGoalListener</a></span>(<a href="../../bdi4jade/event/GoalListener.html" title="interface in bdi4jade.event">GoalListener</a> goalListener)</code>
<div class="block">Adds a listener to be notified when about goal events.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#addSoftgoal-bdi4jade.goal.Softgoal-">addSoftgoal</a></span>(<a href="../../bdi4jade/goal/Softgoal.html" title="interface in bdi4jade.goal">Softgoal</a> softgoal)</code>
<div class="block">Adds a new softgoal to this agent.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#canHandle-jade.lang.acl.ACLMessage-">canHandle</a></span>(jade.lang.acl.ACLMessage msg)</code>
<div class="block">Checks if this agent is able to process the given message.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#dropGoal-bdi4jade.goal.Goal-">dropGoal</a></span>(<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal)</code>
<div class="block">Drops a given goal of this agent, which means setting it as no longer
desired.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#dropSoftoal-bdi4jade.goal.Softgoal-">dropSoftoal</a></span>(<a href="../../bdi4jade/goal/Softgoal.html" title="interface in bdi4jade.goal">Softgoal</a> softgoal)</code>
<div class="block">Drops a given softgoal of this agent.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.util.Collection<<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#getAllCapabilities--">getAllCapabilities</a></span>()</code>
<div class="block">Returns all capabilities that are part of this agent.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../bdi4jade/reasoning/AgentBeliefRevisionStrategy.html" title="interface in bdi4jade.reasoning">AgentBeliefRevisionStrategy</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#getBeliefRevisionStrategy--">getBeliefRevisionStrategy</a></span>()</code>
<div class="block">Returns the belief revision strategy of this agent.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>java.util.Collection<<a href="../../bdi4jade/belief/Belief.html" title="interface in bdi4jade.belief">Belief</a><?,?>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#getBeliefs--">getBeliefs</a></span>()</code>
<div class="block">Returns a collection of all beliefs from all capabilities of this agent.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>java.util.Set<<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#getCapabilities--">getCapabilities</a></span>()</code>
<div class="block">Returns the capabilities of this agent.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../bdi4jade/reasoning/AgentDeliberationFunction.html" title="interface in bdi4jade.reasoning">AgentDeliberationFunction</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#getDeliberationFunction--">getDeliberationFunction</a></span>()</code>
<div class="block">Returns the deliberation function of this agent.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>java.util.List<<a href="../../bdi4jade/event/GoalListener.html" title="interface in bdi4jade.event">GoalListener</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#getGoalListeners--">getGoalListeners</a></span>()</code>
<div class="block">Returns all goal listeners.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>protected java.util.Set<<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#getGoalOwner-java.lang.Class-boolean-">getGoalOwner</a></span>(java.lang.Class<? extends <a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a>> owner,
boolean internal)</code>
<div class="block">Returns the capability instances that owns a dispatched goal, considering
the aggregated capabilities of this agent.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>java.util.Set<<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#getGoals--">getGoals</a></span>()</code>
<div class="block">Gets all goals of this agent.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>java.util.Set<<a href="../../bdi4jade/core/Intention.html" title="class in bdi4jade.core">Intention</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#getIntentions--">getIntentions</a></span>()</code>
<div class="block">Returns all agent intentions, which are goals that this agent is
committed to achieve.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../bdi4jade/reasoning/AgentOptionGenerationFunction.html" title="interface in bdi4jade.reasoning">AgentOptionGenerationFunction</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#getOptionGenerationFunction--">getOptionGenerationFunction</a></span>()</code>
<div class="block">Returns the option generation function of this agent.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../bdi4jade/reasoning/AgentPlanSelectionStrategy.html" title="interface in bdi4jade.reasoning">AgentPlanSelectionStrategy</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#getPlanSelectionStrategy--">getPlanSelectionStrategy</a></span>()</code>
<div class="block">Returns the plan selection strategy of this agent.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>java.util.Set<<a href="../../bdi4jade/goal/Softgoal.html" title="interface in bdi4jade.goal">Softgoal</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#getSoftgoals--">getSoftgoals</a></span>()</code>
<div class="block">Gets all softgoals of this agent.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#hasGoal-bdi4jade.goal.Goal-">hasGoal</a></span>(<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal)</code>
<div class="block">Checks if this agent has a given goal.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#init--">init</a></span>()</code>
<div class="block">This method initializes the BDI agent.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#removeGoalListener-bdi4jade.event.GoalListener-">removeGoalListener</a></span>(<a href="../../bdi4jade/event/GoalListener.html" title="interface in bdi4jade.event">GoalListener</a> goalListener)</code>
<div class="block">Removes a goal listener, so it will not be notified about the goal events
anymore.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#restart--">restart</a></span>()</code>
<div class="block">Restarts the agent in case its reasoning cycle is in the blocked state.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#setBeliefRevisionStrategy-bdi4jade.reasoning.AgentBeliefRevisionStrategy-">setBeliefRevisionStrategy</a></span>(<a href="../../bdi4jade/reasoning/AgentBeliefRevisionStrategy.html" title="interface in bdi4jade.reasoning">AgentBeliefRevisionStrategy</a> beliefRevisionStrategy)</code>
<div class="block">Sets the belief revision strategy of this agent.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#setDeliberationFunction-bdi4jade.reasoning.AgentDeliberationFunction-">setDeliberationFunction</a></span>(<a href="../../bdi4jade/reasoning/AgentDeliberationFunction.html" title="interface in bdi4jade.reasoning">AgentDeliberationFunction</a> deliberationFunction)</code>
<div class="block">Sets the deliberation function of this agent.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#setOptionGenerationFunction-bdi4jade.reasoning.AgentOptionGenerationFunction-">setOptionGenerationFunction</a></span>(<a href="../../bdi4jade/reasoning/AgentOptionGenerationFunction.html" title="interface in bdi4jade.reasoning">AgentOptionGenerationFunction</a> optionGenerationFunction)</code>
<div class="block">Sets the option generation function of this agent.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#setPlanSelectionStrategy-bdi4jade.reasoning.AgentPlanSelectionStrategy-">setPlanSelectionStrategy</a></span>(<a href="../../bdi4jade/reasoning/AgentPlanSelectionStrategy.html" title="interface in bdi4jade.reasoning">AgentPlanSelectionStrategy</a> planSelectionStrategy)</code>
<div class="block">Sets the plan selection strategy of this agent.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#setup--">setup</a></span>()</code>
<div class="block">Initializes the BDI agent.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../bdi4jade/core/AbstractBDIAgent.html#takeDown--">takeDown</a></span>()</code>
<div class="block">Removes all capabilities of this agent, before it stops its execution.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.jade.core.Agent">
<!-- -->
</a>
<h3>Methods inherited from class jade.core.Agent</h3>
<code>addBehaviour, afterClone, afterMove, beforeClone, beforeMove, blockingReceive, blockingReceive, blockingReceive, blockingReceive, changeStateTo, clean, createMessageQueue, doActivate, doClone, doDelete, doMove, doSuspend, doTimeOut, doWait, doWait, doWake, getAgentState, getAID, getAMS, getArguments, getBootProperties, getContainerController, getContentManager, getCurQueueSize, getDefaultDF, getHap, getHelper, getLocalName, getName, getO2AInterface, getO2AObject, getProperty, getQueueSize, getState, here, isRestarting, join, notifyChangeBehaviourState, notifyRestarted, postMessage, putBack, putO2AObject, receive, receive, registerO2AInterface, removeBehaviour, removeTimer, restartLater, restore, restoreBufferedState, run, send, setArguments, setEnabledO2ACommunication, setGenerateBehaviourEvents, setO2AManager, setQueueSize, waitUntilStarted, write</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.bdi4jade.core.BDIAgent">
<!-- -->
</a>
<h3>Methods inherited from interface bdi4jade.core.<a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></h3>
<code><a href="../../bdi4jade/core/BDIAgent.html#blockingReceive--">blockingReceive</a>, <a href="../../bdi4jade/core/BDIAgent.html#blockingReceive-long-">blockingReceive</a>, <a href="../../bdi4jade/core/BDIAgent.html#blockingReceive-jade.lang.acl.MessageTemplate-">blockingReceive</a>, <a href="../../bdi4jade/core/BDIAgent.html#blockingReceive-jade.lang.acl.MessageTemplate-long-">blockingReceive</a>, <a href="../../bdi4jade/core/BDIAgent.html#doActivate--">doActivate</a>, <a href="../../bdi4jade/core/BDIAgent.html#doClone-jade.core.Location-java.lang.String-">doClone</a>, <a href="../../bdi4jade/core/BDIAgent.html#doDelete--">doDelete</a>, <a href="../../bdi4jade/core/BDIAgent.html#doMove-jade.core.Location-">doMove</a>, <a href="../../bdi4jade/core/BDIAgent.html#doSuspend--">doSuspend</a>, <a href="../../bdi4jade/core/BDIAgent.html#doTimeOut-jade.core.Timer-">doTimeOut</a>, <a href="../../bdi4jade/core/BDIAgent.html#doWait--">doWait</a>, <a href="../../bdi4jade/core/BDIAgent.html#doWait-long-">doWait</a>, <a href="../../bdi4jade/core/BDIAgent.html#doWake--">doWake</a>, <a href="../../bdi4jade/core/BDIAgent.html#getAgentState--">getAgentState</a>, <a href="../../bdi4jade/core/BDIAgent.html#getAID--">getAID</a>, <a href="../../bdi4jade/core/BDIAgent.html#getAMS--">getAMS</a>, <a href="../../bdi4jade/core/BDIAgent.html#getContainerController--">getContainerController</a>, <a href="../../bdi4jade/core/BDIAgent.html#getContentManager--">getContentManager</a>, <a href="../../bdi4jade/core/BDIAgent.html#getCurQueueSize--">getCurQueueSize</a>, <a href="../../bdi4jade/core/BDIAgent.html#getHap--">getHap</a>, <a href="../../bdi4jade/core/BDIAgent.html#getHelper-java.lang.String-">getHelper</a>, <a href="../../bdi4jade/core/BDIAgent.html#getLocalName--">getLocalName</a>, <a href="../../bdi4jade/core/BDIAgent.html#getName--">getName</a>, <a href="../../bdi4jade/core/BDIAgent.html#getQueueSize--">getQueueSize</a>, <a href="../../bdi4jade/core/BDIAgent.html#here--">here</a>, <a href="../../bdi4jade/core/BDIAgent.html#putBack-jade.lang.acl.ACLMessage-">putBack</a>, <a href="../../bdi4jade/core/BDIAgent.html#receive--">receive</a>, <a href="../../bdi4jade/core/BDIAgent.html#receive-jade.lang.acl.MessageTemplate-">receive</a>, <a href="../../bdi4jade/core/BDIAgent.html#send-jade.lang.acl.ACLMessage-">send</a>, <a href="../../bdi4jade/core/BDIAgent.html#setQueueSize-int-">setQueueSize</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="goalListeners">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>goalListeners</h4>
<pre>protected final java.util.List<<a href="../../bdi4jade/event/GoalListener.html" title="interface in bdi4jade.event">GoalListener</a>> goalListeners</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractBDIAgent--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractBDIAgent</h4>
<pre>public AbstractBDIAgent()</pre>
<div class="block">Default constructor.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="addGoal-bdi4jade.core.Capability-bdi4jade.goal.Goal-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addGoal</h4>
<pre>public final boolean addGoal(<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a> dispatcher,
<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#addGoal-bdi4jade.core.Capability-bdi4jade.goal.Goal-">BDIAgent</a></code></span></div>
<div class="block">Adds a new goal to this agent to be achieved.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#addGoal-bdi4jade.core.Capability-bdi4jade.goal.Goal-">addGoal</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dispatcher</code> - the capability that dispatched this goal.</dd>
<dd><code>goal</code> - the goal to be achieved.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the goal was added, false otherwise.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#addGoal-bdi4jade.core.Capability-bdi4jade.goal.Goal-"><code>BDIAgent.addGoal(bdi4jade.core.Capability,
bdi4jade.goal.Goal)</code></a></dd>
</dl>
</li>
</ul>
<a name="addGoal-bdi4jade.core.Capability-bdi4jade.goal.Goal-bdi4jade.event.GoalListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addGoal</h4>
<pre>public final boolean addGoal(<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a> dispatcher,
<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal,
<a href="../../bdi4jade/event/GoalListener.html" title="interface in bdi4jade.event">GoalListener</a> goalListener)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#addGoal-bdi4jade.core.Capability-bdi4jade.goal.Goal-bdi4jade.event.GoalListener-">BDIAgent</a></code></span></div>
<div class="block">Adds a new goal to this agent to be achieved and adds a listener to
observe events related to this goal.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#addGoal-bdi4jade.core.Capability-bdi4jade.goal.Goal-bdi4jade.event.GoalListener-">addGoal</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dispatcher</code> - the Capability that dispatched this goal.</dd>
<dd><code>goal</code> - the goal to be achieved.</dd>
<dd><code>goalListener</code> - the listener to be notified about this goal events.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the goal was added, false otherwise.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#addGoal-bdi4jade.core.Capability-bdi4jade.goal.Goal-bdi4jade.event.GoalListener-"><code>BDIAgent.addGoal(bdi4jade.core.Capability,
bdi4jade.goal.Goal, bdi4jade.event.GoalListener)</code></a></dd>
</dl>
</li>
</ul>
<a name="addGoal-bdi4jade.goal.Goal-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addGoal</h4>
<pre>public final boolean addGoal(<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#addGoal-bdi4jade.goal.Goal-">BDIAgent</a></code></span></div>
<div class="block">Adds a new goal to this agent to be achieved.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#addGoal-bdi4jade.goal.Goal-">addGoal</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>goal</code> - the goal to be achieved.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the goal was added, false otherwise.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#addGoal-bdi4jade.goal.Goal-"><code>BDIAgent.addGoal(bdi4jade.goal.Goal)</code></a></dd>
</dl>
</li>
</ul>
<a name="addGoal-bdi4jade.goal.Goal-bdi4jade.event.GoalListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addGoal</h4>
<pre>public final boolean addGoal(<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal,
<a href="../../bdi4jade/event/GoalListener.html" title="interface in bdi4jade.event">GoalListener</a> goalListener)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#addGoal-bdi4jade.goal.Goal-bdi4jade.event.GoalListener-">BDIAgent</a></code></span></div>
<div class="block">Adds a new goal to this agent to be achieved and adds a listener to
observe events related to this goal.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#addGoal-bdi4jade.goal.Goal-bdi4jade.event.GoalListener-">addGoal</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>goal</code> - the goal to be achieved.</dd>
<dd><code>goalListener</code> - the listener to be notified.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the goal was added, false otherwise.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#addGoal-bdi4jade.goal.Goal-bdi4jade.event.GoalListener-"><code>BDIAgent.addGoal(bdi4jade.goal.Goal,
bdi4jade.event.GoalListener)</code></a></dd>
</dl>
</li>
</ul>
<a name="addGoalListener-bdi4jade.event.GoalListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addGoalListener</h4>
<pre>public final void addGoalListener(<a href="../../bdi4jade/event/GoalListener.html" title="interface in bdi4jade.event">GoalListener</a> goalListener)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#addGoalListener-bdi4jade.event.GoalListener-">BDIAgent</a></code></span></div>
<div class="block">Adds a listener to be notified when about goal events.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#addGoalListener-bdi4jade.event.GoalListener-">addGoalListener</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>goalListener</code> - the listener to be notified.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#addGoalListener-bdi4jade.event.GoalListener-"><code>BDIAgent.addGoalListener(bdi4jade.event.GoalListener)</code></a></dd>
</dl>
</li>
</ul>
<a name="addSoftgoal-bdi4jade.goal.Softgoal-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSoftgoal</h4>
<pre>public final void addSoftgoal(<a href="../../bdi4jade/goal/Softgoal.html" title="interface in bdi4jade.goal">Softgoal</a> softgoal)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#addSoftgoal-bdi4jade.goal.Softgoal-">BDIAgent</a></code></span></div>
<div class="block">Adds a new softgoal to this agent.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#addSoftgoal-bdi4jade.goal.Softgoal-">addSoftgoal</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>softgoal</code> - the softgoal to be pursued.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#addSoftgoal-bdi4jade.goal.Softgoal-"><code>BDIAgent.addSoftgoal(bdi4jade.goal.Softgoal)</code></a></dd>
</dl>
</li>
</ul>
<a name="canHandle-jade.lang.acl.ACLMessage-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canHandle</h4>
<pre>public boolean canHandle(jade.lang.acl.ACLMessage msg)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#canHandle-jade.lang.acl.ACLMessage-">BDIAgent</a></code></span></div>
<div class="block">Checks if this agent is able to process the given message.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#canHandle-jade.lang.acl.ACLMessage-">canHandle</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>msg</code> - the message to be checked.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if this agent is able to handle the message.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#canHandle-jade.lang.acl.ACLMessage-"><code>BDIAgent.canHandle(jade.lang.acl.ACLMessage)</code></a></dd>
</dl>
</li>
</ul>
<a name="dropGoal-bdi4jade.goal.Goal-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropGoal</h4>
<pre>public final void dropGoal(<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#dropGoal-bdi4jade.goal.Goal-">BDIAgent</a></code></span></div>
<div class="block">Drops a given goal of this agent, which means setting it as no longer
desired. If the goal is not part of the agent's current goals, no action
is performed.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#dropGoal-bdi4jade.goal.Goal-">dropGoal</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>goal</code> - the goal to be dropped.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#dropGoal-bdi4jade.goal.Goal-"><code>BDIAgent.dropGoal(bdi4jade.goal.Goal)</code></a></dd>
</dl>
</li>
</ul>
<a name="dropSoftoal-bdi4jade.goal.Softgoal-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropSoftoal</h4>
<pre>public final void dropSoftoal(<a href="../../bdi4jade/goal/Softgoal.html" title="interface in bdi4jade.goal">Softgoal</a> softgoal)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#dropSoftoal-bdi4jade.goal.Softgoal-">BDIAgent</a></code></span></div>
<div class="block">Drops a given softgoal of this agent. If the softgoal is not part of the
agent's current softgoals, no action is performed.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#dropSoftoal-bdi4jade.goal.Softgoal-">dropSoftoal</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>softgoal</code> - the softgoal to be dropped.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#dropSoftoal-bdi4jade.goal.Softgoal-"><code>BDIAgent.dropSoftoal(bdi4jade.goal.Softgoal)</code></a></dd>
</dl>
</li>
</ul>
<a name="getAllCapabilities--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllCapabilities</h4>
<pre>public final java.util.Collection<<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a>> getAllCapabilities()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#getAllCapabilities--">BDIAgent</a></code></span></div>
<div class="block">Returns all capabilities that are part of this agent. This included all
capabilities composed or associated with other capabilities.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#getAllCapabilities--">getAllCapabilities</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the capabilities.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#getAllCapabilities--"><code>BDIAgent.getAllCapabilities()</code></a></dd>
</dl>
</li>
</ul>
<a name="getBeliefRevisionStrategy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBeliefRevisionStrategy</h4>
<pre>public final <a href="../../bdi4jade/reasoning/AgentBeliefRevisionStrategy.html" title="interface in bdi4jade.reasoning">AgentBeliefRevisionStrategy</a> getBeliefRevisionStrategy()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#getBeliefRevisionStrategy--">BDIAgent</a></code></span></div>
<div class="block">Returns the belief revision strategy of this agent.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#getBeliefRevisionStrategy--">getBeliefRevisionStrategy</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the beliefRevisionStrategy.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#getBeliefRevisionStrategy--"><code>BDIAgent.getBeliefRevisionStrategy()</code></a></dd>
</dl>
</li>
</ul>
<a name="getBeliefs--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBeliefs</h4>
<pre>public final java.util.Collection<<a href="../../bdi4jade/belief/Belief.html" title="interface in bdi4jade.belief">Belief</a><?,?>> getBeliefs()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#getBeliefs--">BDIAgent</a></code></span></div>
<div class="block">Returns a collection of all beliefs from all capabilities of this agent.
It may have two equivalent beliefs, i.e. beliefs with the same name.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#getBeliefs--">getBeliefs</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the collection of all beliefs of this agent.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#getBeliefs--"><code>BDIAgent.getBeliefs()</code></a></dd>
</dl>
</li>
</ul>
<a name="getCapabilities--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCapabilities</h4>
<pre>public final java.util.Set<<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a>> getCapabilities()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#getCapabilities--">BDIAgent</a></code></span></div>
<div class="block">Returns the capabilities of this agent. It may be a single root
capability or a set of capabilities.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#getCapabilities--">getCapabilities</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the set of capabilities of this agent.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#getCapabilities--"><code>BDIAgent.getCapabilities()</code></a></dd>
</dl>
</li>
</ul>
<a name="getDeliberationFunction--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDeliberationFunction</h4>
<pre>public final <a href="../../bdi4jade/reasoning/AgentDeliberationFunction.html" title="interface in bdi4jade.reasoning">AgentDeliberationFunction</a> getDeliberationFunction()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#getDeliberationFunction--">BDIAgent</a></code></span></div>
<div class="block">Returns the deliberation function of this agent.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#getDeliberationFunction--">getDeliberationFunction</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the deliberationFunction</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#getDeliberationFunction--"><code>BDIAgent.getDeliberationFunction()</code></a></dd>
</dl>
</li>
</ul>
<a name="getGoalListeners--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGoalListeners</h4>
<pre>public final java.util.List<<a href="../../bdi4jade/event/GoalListener.html" title="interface in bdi4jade.event">GoalListener</a>> getGoalListeners()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#getGoalListeners--">BDIAgent</a></code></span></div>
<div class="block">Returns all goal listeners.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#getGoalListeners--">getGoalListeners</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the goalListeners.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#getGoalListeners--"><code>BDIAgent.getGoalListeners()</code></a></dd>
</dl>
</li>
</ul>
<a name="getGoalOwner-java.lang.Class-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGoalOwner</h4>
<pre>protected final java.util.Set<<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a>> getGoalOwner(java.lang.Class<? extends <a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a>> owner,
boolean internal)</pre>
<div class="block">Returns the capability instances that owns a dispatched goal, considering
the aggregated capabilities of this agent.
If this method returns an empty set, it means that this agent cannot add
a goal without the scope of a dispatcher that has access to it.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>owner</code> - the capability class that is the goal owner.</dd>
<dd><code>internal</code> - a boolean indicated whether the goal is internal. It is true
if the goal is internal, false otherwise.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the capability instances related to this capability that owns the
goal, or an empty set if the agent cannot add this goal.</dd>
</dl>
</li>
</ul>
<a name="getGoals--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGoals</h4>
<pre>public final java.util.Set<<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a>> getGoals()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#getGoals--">BDIAgent</a></code></span></div>
<div class="block">Gets all goals of this agent. This goals are the ones in the goal set and
the ones that are trying to be achieve in intentions.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#getGoals--">getGoals</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the set of goals.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#getGoals--"><code>BDIAgent.getGoals()</code></a></dd>
</dl>
</li>
</ul>
<a name="getIntentions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIntentions</h4>
<pre>public final java.util.Set<<a href="../../bdi4jade/core/Intention.html" title="class in bdi4jade.core">Intention</a>> getIntentions()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#getIntentions--">BDIAgent</a></code></span></div>
<div class="block">Returns all agent intentions, which are goals that this agent is
committed to achieve.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#getIntentions--">getIntentions</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the intentions.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#getIntentions--"><code>BDIAgent.getIntentions()</code></a></dd>
</dl>
</li>
</ul>
<a name="getOptionGenerationFunction--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOptionGenerationFunction</h4>
<pre>public final <a href="../../bdi4jade/reasoning/AgentOptionGenerationFunction.html" title="interface in bdi4jade.reasoning">AgentOptionGenerationFunction</a> getOptionGenerationFunction()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#getOptionGenerationFunction--">BDIAgent</a></code></span></div>
<div class="block">Returns the option generation function of this agent.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#getOptionGenerationFunction--">getOptionGenerationFunction</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the optionGenerationFunction</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#getOptionGenerationFunction--"><code>BDIAgent.getOptionGenerationFunction()</code></a></dd>
</dl>
</li>
</ul>
<a name="getPlanSelectionStrategy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlanSelectionStrategy</h4>
<pre>public final <a href="../../bdi4jade/reasoning/AgentPlanSelectionStrategy.html" title="interface in bdi4jade.reasoning">AgentPlanSelectionStrategy</a> getPlanSelectionStrategy()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#getPlanSelectionStrategy--">BDIAgent</a></code></span></div>
<div class="block">Returns the plan selection strategy of this agent.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#getPlanSelectionStrategy--">getPlanSelectionStrategy</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the planSelectionStrategy</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#getPlanSelectionStrategy--"><code>BDIAgent.getPlanSelectionStrategy()</code></a></dd>
</dl>
</li>
</ul>
<a name="getSoftgoals--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSoftgoals</h4>
<pre>public final java.util.Set<<a href="../../bdi4jade/goal/Softgoal.html" title="interface in bdi4jade.goal">Softgoal</a>> getSoftgoals()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#getSoftgoals--">BDIAgent</a></code></span></div>
<div class="block">Gets all softgoals of this agent.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#getSoftgoals--">getSoftgoals</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the set of softgoals.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#getSoftgoals--"><code>BDIAgent.getSoftgoals()</code></a></dd>
</dl>
</li>
</ul>
<a name="hasGoal-bdi4jade.goal.Goal-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasGoal</h4>
<pre>public boolean hasGoal(<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#hasGoal-bdi4jade.goal.Goal-">BDIAgent</a></code></span></div>
<div class="block">Checks if this agent has a given goal.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#hasGoal-bdi4jade.goal.Goal-">hasGoal</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>goal</code> - the goal to be checked.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if this agent has the goal, false otherwise.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#hasGoal-bdi4jade.goal.Goal-"><code>BDIAgent.hasGoal(bdi4jade.goal.Goal)</code></a></dd>
</dl>
</li>
</ul>
<a name="init--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>protected void init()</pre>
<div class="block">This method initializes the BDI agent. It is invoked by the
<a href="../../bdi4jade/core/AbstractBDIAgent.html#setup--"><code>setup()</code></a> method. This is an empty method that should be overriden
by subclasses.</div>
</li>
</ul>
<a name="removeGoalListener-bdi4jade.event.GoalListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeGoalListener</h4>
<pre>public final void removeGoalListener(<a href="../../bdi4jade/event/GoalListener.html" title="interface in bdi4jade.event">GoalListener</a> goalListener)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#removeGoalListener-bdi4jade.event.GoalListener-">BDIAgent</a></code></span></div>
<div class="block">Removes a goal listener, so it will not be notified about the goal events
anymore.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#removeGoalListener-bdi4jade.event.GoalListener-">removeGoalListener</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>goalListener</code> - the goal listener to be removed.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#removeGoalListener-bdi4jade.event.GoalListener-"><code>BDIAgent.removeGoalListener(bdi4jade.event.GoalListener)</code></a></dd>
</dl>
</li>
</ul>
<a name="restart--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>restart</h4>
<pre>public final void restart()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../bdi4jade/core/BDIAgent.html#restart--">BDIAgent</a></code></span></div>
<div class="block">Restarts the agent in case its reasoning cycle is in the blocked state.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../bdi4jade/core/BDIAgent.html#restart--">restart</a></code> in interface <code><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core">BDIAgent</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../bdi4jade/core/BDIAgent.html#restart--"><code>BDIAgent.restart()</code></a></dd>
</dl>
</li>
</ul>
<a name="setBeliefRevisionStrategy-bdi4jade.reasoning.AgentBeliefRevisionStrategy-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBeliefRevisionStrategy</h4>
<pre>public final void setBeliefRevisionStrategy(<a href="../../bdi4jade/reasoning/AgentBeliefRevisionStrategy.html" title="interface in bdi4jade.reasoning">AgentBeliefRevisionStrategy</a> beliefRevisionStrategy)</pre>
<div class="block">Sets the belief revision strategy of this agent.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>beliefRevisionStrategy</code> - the beliefRevisionStrategy to set.</dd>
</dl>
</li>
</ul>
<a name="setDeliberationFunction-bdi4jade.reasoning.AgentDeliberationFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDeliberationFunction</h4>
<pre>public final void setDeliberationFunction(<a href="../../bdi4jade/reasoning/AgentDeliberationFunction.html" title="interface in bdi4jade.reasoning">AgentDeliberationFunction</a> deliberationFunction)</pre>
<div class="block">Sets the deliberation function of this agent.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>deliberationFunction</code> - the deliberationFunction to set.</dd>
</dl>
</li>
</ul>
<a name="setOptionGenerationFunction-bdi4jade.reasoning.AgentOptionGenerationFunction-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOptionGenerationFunction</h4>
<pre>public final void setOptionGenerationFunction(<a href="../../bdi4jade/reasoning/AgentOptionGenerationFunction.html" title="interface in bdi4jade.reasoning">AgentOptionGenerationFunction</a> optionGenerationFunction)</pre>
<div class="block">Sets the option generation function of this agent.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>optionGenerationFunction</code> - the optionGenerationFunction to set.</dd>
</dl>
</li>
</ul>
<a name="setPlanSelectionStrategy-bdi4jade.reasoning.AgentPlanSelectionStrategy-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPlanSelectionStrategy</h4>
<pre>public final void setPlanSelectionStrategy(<a href="../../bdi4jade/reasoning/AgentPlanSelectionStrategy.html" title="interface in bdi4jade.reasoning">AgentPlanSelectionStrategy</a> planSelectionStrategy)</pre>
<div class="block">Sets the plan selection strategy of this agent.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>planSelectionStrategy</code> - the planSelectionStrategy to set.</dd>
</dl>
</li>
</ul>
<a name="setup--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setup</h4>
<pre>protected final void setup()</pre>
<div class="block">Initializes the BDI agent. It adds the behavior to handle message
received and can be processed by capabilities and the
<code>BDIInterpreter</code> behavior as well. It invokes the <a href="../../bdi4jade/core/AbstractBDIAgent.html#init--"><code>init()</code></a>
method, so that customized initializations can be perfomed by subclasses.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setup</code> in class <code>jade.core.Agent</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>Agent.setup()</code></dd>
</dl>
</li>
</ul>
<a name="takeDown--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>takeDown</h4>
<pre>protected void takeDown()</pre>
<div class="block">Removes all capabilities of this agent, before it stops its execution.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>takeDown</code> in class <code>jade.core.Agent</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>Agent.takeDown()</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractBDIAgent.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-files/index-1.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../bdi4jade/core/BDIAgent.html" title="interface in bdi4jade.core"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?bdi4jade/core/AbstractBDIAgent.html" target="_top">Frames</a></li>
<li><a href="AbstractBDIAgent.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested.classes.inherited.from.class.jade.core.Agent">Nested</a> | </li>
<li><a href="#field.summary">Field</a> | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field.detail">Field</a> | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>