<!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 (version 1.7.0_25) on Thu Jan 09 01:28:38 BRST 2014 -->
<title>BDIAgent</title>
<meta name="date" content="2014-01-09">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="BDIAgent";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/BDIAgent.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/BeliefBase.html" title="class in bdi4jade.core"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?bdi4jade/core/BDIAgent.html" target="_top">Frames</a></li>
<li><a href="BDIAgent.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="#fields_inherited_from_class_jade.core.Agent">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>Field | </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 BDIAgent" class="title">Class BDIAgent</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.BDIAgent</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>jade.core.TimerListener, java.io.Serializable, java.lang.Runnable</dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../bdi4jade/util/agent/UtilityBasedBDIAgent.html" title="class in bdi4jade.util.agent">UtilityBasedBDIAgent</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">BDIAgent</span>
extends jade.core.Agent</pre>
<div class="block">This class is an extension of <code>Agent</code> that has a current set of goals,
which are selected to become intentions, i.e. to tried to be achieve by means
of the selection and execution of plans. It also have a set of
<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core"><code>Capability</code></a>. It has a behavior that runs the BDI-interpreter. This
agent also have a <code>MsgReceiver</code> behavior to receive all messages that
the agent current plans can process.</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>ingrid</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../serialized-form.html#bdi4jade.core.BDIAgent">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>
<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="overviewSummary" 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><strong><a href="../../bdi4jade/core/BDIAgent.html#BDIAgent()">BDIAgent</a></strong>()</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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#addCapability(bdi4jade.core.Capability)">addCapability</a></strong>(<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a> capability)</code>
<div class="block">Adds a capability to this agent.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#addGoal(bdi4jade.core.Capability, bdi4jade.goal.Goal)">addGoal</a></strong>(<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a> owner,
<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 class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#addGoal(bdi4jade.core.Capability, bdi4jade.goal.Goal, bdi4jade.event.GoalListener)">addGoal</a></strong>(<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a> owner,
<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 its end.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#addGoal(bdi4jade.goal.Goal)">addGoal</a></strong>(<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 class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#addGoal(bdi4jade.goal.Goal, bdi4jade.event.GoalListener)">addGoal</a></strong>(<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 its end.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#addSoftgoal(bdi4jade.softgoal.Softgoal)">addSoftgoal</a></strong>(<a href="../../bdi4jade/softgoal/Softgoal.html" title="interface in bdi4jade.softgoal">Softgoal</a> softgoal)</code>
<div class="block">Adds a new softgoal to this agent.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#dropGoal(bdi4jade.goal.Goal)">dropGoal</a></strong>(<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.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#dropSoftoal(bdi4jade.softgoal.Softgoal)">dropSoftoal</a></strong>(<a href="../../bdi4jade/softgoal/Softgoal.html" title="interface in bdi4jade.softgoal">Softgoal</a> softgoal)</code>
<div class="block">Drops a given softgoal of this agent.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Collection<<a href="../../bdi4jade/belief/Belief.html" title="class in bdi4jade.belief">Belief</a><?>></code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#getAllBeliefs()">getAllBeliefs</a></strong>()</code>
<div class="block">Returns a collection of all beliefs from all capabilities of this agent.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.List<<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a>></code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#getAllCapabilities()">getAllCapabilities</a></strong>()</code> </td>
</tr>
<tr 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><strong><a href="../../bdi4jade/core/BDIAgent.html#getAllGoals()">getAllGoals</a></strong>()</code>
<div class="block">Gets all goals of this agent.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Set<<a href="../../bdi4jade/softgoal/Softgoal.html" title="interface in bdi4jade.softgoal">Softgoal</a>></code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#getAllSoftgoals()">getAllSoftgoals</a></strong>()</code>
<div class="block">Gets all softgoals of this agent.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../bdi4jade/reasoning/BeliefRevisionStrategy.html" title="interface in bdi4jade.reasoning">BeliefRevisionStrategy</a></code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#getBeliefRevisionStrategy()">getBeliefRevisionStrategy</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../bdi4jade/reasoning/DeliberationFunction.html" title="interface in bdi4jade.reasoning">DeliberationFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#getDeliberationFunction()">getDeliberationFunction</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<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><strong><a href="../../bdi4jade/core/BDIAgent.html#getIntentions()">getIntentions</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../bdi4jade/reasoning/OptionGenerationFunction.html" title="interface in bdi4jade.reasoning">OptionGenerationFunction</a></code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#getOptionGenerationFunction()">getOptionGenerationFunction</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../bdi4jade/reasoning/PlanSelectionStrategy.html" title="interface in bdi4jade.reasoning">PlanSelectionStrategy</a></code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#getPlanSelectionStrategy()">getPlanSelectionStrategy</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a></code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#getRootCapability()">getRootCapability</a></strong>()</code>
<div class="block">Returns the root capability of this agent.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#removeCapability(bdi4jade.core.Capability)">removeCapability</a></strong>(<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a> capability)</code>
<div class="block">Removes a capability from this agent.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#setBeliefRevisionStrategy(bdi4jade.reasoning.BeliefRevisionStrategy)">setBeliefRevisionStrategy</a></strong>(<a href="../../bdi4jade/reasoning/BeliefRevisionStrategy.html" title="interface in bdi4jade.reasoning">BeliefRevisionStrategy</a> beliefRevisionStrategy)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#setDeliberationFunction(bdi4jade.reasoning.DeliberationFunction)">setDeliberationFunction</a></strong>(<a href="../../bdi4jade/reasoning/DeliberationFunction.html" title="interface in bdi4jade.reasoning">DeliberationFunction</a> deliberationFunction)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#setNoLongerDesired(bdi4jade.goal.Goal)">setNoLongerDesired</a></strong>(<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal)</code>
<div class="block">Sets a goal to be no longer desired.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#setOptionGenerationFunction(bdi4jade.reasoning.OptionGenerationFunction)">setOptionGenerationFunction</a></strong>(<a href="../../bdi4jade/reasoning/OptionGenerationFunction.html" title="interface in bdi4jade.reasoning">OptionGenerationFunction</a> optionGenerationFunction)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../bdi4jade/core/BDIAgent.html#setPlanSelectionStrategy(bdi4jade.reasoning.PlanSelectionStrategy)">setPlanSelectionStrategy</a></strong>(<a href="../../bdi4jade/reasoning/PlanSelectionStrategy.html" title="interface in bdi4jade.reasoning">PlanSelectionStrategy</a> planSelectionStrategy)</code> </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, blockingReceive, blockingReceive, blockingReceive, blockingReceive, changeStateTo, clean, doActivate, doClone, doDelete, doMove, doSuspend, doTimeOut, doWait, doWait, doWake, getAgentState, getAID, getAMS, getArguments, getBootProperties, getContainerController, getContentManager, getCurQueueSize, getDefaultDF, getHap, getHelper, getLocalName, getName, getO2AObject, getProperty, getQueueSize, getState, here, isRestarting, join, notifyChangeBehaviourState, notifyRestarted, postMessage, putBack, putO2AObject, receive, receive, 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>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="BDIAgent()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>BDIAgent</h4>
<pre>public BDIAgent()</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="addCapability(bdi4jade.core.Capability)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addCapability</h4>
<pre>public void addCapability(<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a> capability)</pre>
<div class="block">Adds a capability to this agent.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>capability</code> - capability to be added.</dd></dl>
</li>
</ul>
<a name="addGoal(bdi4jade.goal.Goal)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addGoal</h4>
<pre>public void addGoal(<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal)</pre>
<div class="block">Adds a new goal to this agent to be achieved.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>goal</code> - the goal to be achieved.</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 void 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">Adds a new goal to this agent to be achieved and adds a listener to
observe its end.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>goal</code> - the goal to be achieved.</dd><dd><code>goalListener</code> - the listener to be notified.</dd></dl>
</li>
</ul>
<a name="addGoal(bdi4jade.core.Capability, bdi4jade.goal.Goal)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addGoal</h4>
<pre>public void addGoal(<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a> owner,
<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal)</pre>
<div class="block">Adds a new goal to this agent to be achieved.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>owner</code> - the Capability that is owner of the goal.</dd><dd><code>goal</code> - the goal to be achieved.</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 void addGoal(<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a> owner,
<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">Adds a new goal to this agent to be achieved and adds a listener to
observe its end. If this goal has a capability that owns it, only plans
of this capability and its children capabilities will be considered to
achieve this goal.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>owner</code> - the Capability that is owner of the goal.</dd><dd><code>goal</code> - the goal to be achieved.</dd><dd><code>goalListener</code> - the listener to be notified.</dd></dl>
</li>
</ul>
<a name="addSoftgoal(bdi4jade.softgoal.Softgoal)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSoftgoal</h4>
<pre>public void addSoftgoal(<a href="../../bdi4jade/softgoal/Softgoal.html" title="interface in bdi4jade.softgoal">Softgoal</a> softgoal)</pre>
<div class="block">Adds a new softgoal to this agent.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>softgoal</code> - the softgoal to be pursued.</dd></dl>
</li>
</ul>
<a name="dropGoal(bdi4jade.goal.Goal)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropGoal</h4>
<pre>public void dropGoal(<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal)</pre>
<div class="block">Drops a given goal of this agent. If the goal is not part of the agent's
current goals, no action is performed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>goal</code> - the goal to be dropped.</dd></dl>
</li>
</ul>
<a name="dropSoftoal(bdi4jade.softgoal.Softgoal)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dropSoftoal</h4>
<pre>public void dropSoftoal(<a href="../../bdi4jade/softgoal/Softgoal.html" title="interface in bdi4jade.softgoal">Softgoal</a> softgoal)</pre>
<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="strong">Parameters:</span></dt><dd><code>softgoal</code> - the softgoal to be dropped.</dd></dl>
</li>
</ul>
<a name="getAllBeliefs()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllBeliefs</h4>
<pre>public java.util.Collection<<a href="../../bdi4jade/belief/Belief.html" title="class in bdi4jade.belief">Belief</a><?>> getAllBeliefs()</pre>
<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="strong">Returns:</span></dt><dd>the collection of all beliefs of this agent.</dd></dl>
</li>
</ul>
<a name="getAllCapabilities()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllCapabilities</h4>
<pre>public java.util.List<<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a>> getAllCapabilities()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the capabilities</dd></dl>
</li>
</ul>
<a name="getAllGoals()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllGoals</h4>
<pre>public java.util.Set<<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a>> getAllGoals()</pre>
<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="strong">Returns:</span></dt><dd>the set of goals.</dd></dl>
</li>
</ul>
<a name="getAllSoftgoals()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllSoftgoals</h4>
<pre>public java.util.Set<<a href="../../bdi4jade/softgoal/Softgoal.html" title="interface in bdi4jade.softgoal">Softgoal</a>> getAllSoftgoals()</pre>
<div class="block">Gets all softgoals of this agent.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the set of softgoals.</dd></dl>
</li>
</ul>
<a name="getBeliefRevisionStrategy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBeliefRevisionStrategy</h4>
<pre>public <a href="../../bdi4jade/reasoning/BeliefRevisionStrategy.html" title="interface in bdi4jade.reasoning">BeliefRevisionStrategy</a> getBeliefRevisionStrategy()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the beliefRevisionStrategy</dd></dl>
</li>
</ul>
<a name="getDeliberationFunction()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDeliberationFunction</h4>
<pre>public <a href="../../bdi4jade/reasoning/DeliberationFunction.html" title="interface in bdi4jade.reasoning">DeliberationFunction</a> getDeliberationFunction()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the deliberationFunction</dd></dl>
</li>
</ul>
<a name="getIntentions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIntentions</h4>
<pre>public java.util.Set<<a href="../../bdi4jade/core/Intention.html" title="class in bdi4jade.core">Intention</a>> getIntentions()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the intentions</dd></dl>
</li>
</ul>
<a name="getOptionGenerationFunction()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOptionGenerationFunction</h4>
<pre>public <a href="../../bdi4jade/reasoning/OptionGenerationFunction.html" title="interface in bdi4jade.reasoning">OptionGenerationFunction</a> getOptionGenerationFunction()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the optionGenerationFunction</dd></dl>
</li>
</ul>
<a name="getPlanSelectionStrategy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlanSelectionStrategy</h4>
<pre>public <a href="../../bdi4jade/reasoning/PlanSelectionStrategy.html" title="interface in bdi4jade.reasoning">PlanSelectionStrategy</a> getPlanSelectionStrategy()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the planSelectionStrategy</dd></dl>
</li>
</ul>
<a name="getRootCapability()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRootCapability</h4>
<pre>public <a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a> getRootCapability()</pre>
<div class="block">Returns the root capability of this agent.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the rootCapability</dd></dl>
</li>
</ul>
<a name="removeCapability(bdi4jade.core.Capability)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeCapability</h4>
<pre>public boolean removeCapability(<a href="../../bdi4jade/core/Capability.html" title="class in bdi4jade.core">Capability</a> capability)</pre>
<div class="block">Removes a capability from this agent.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>capability</code> - capability to be removed.</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the capability exists and was removed.</dd></dl>
</li>
</ul>
<a name="setBeliefRevisionStrategy(bdi4jade.reasoning.BeliefRevisionStrategy)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBeliefRevisionStrategy</h4>
<pre>public void setBeliefRevisionStrategy(<a href="../../bdi4jade/reasoning/BeliefRevisionStrategy.html" title="interface in bdi4jade.reasoning">BeliefRevisionStrategy</a> beliefRevisionStrategy)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>beliefRevisionStrategy</code> - the beliefRevisionStrategy to set</dd></dl>
</li>
</ul>
<a name="setDeliberationFunction(bdi4jade.reasoning.DeliberationFunction)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDeliberationFunction</h4>
<pre>public void setDeliberationFunction(<a href="../../bdi4jade/reasoning/DeliberationFunction.html" title="interface in bdi4jade.reasoning">DeliberationFunction</a> deliberationFunction)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>deliberationFunction</code> - the deliberationFunction to set</dd></dl>
</li>
</ul>
<a name="setNoLongerDesired(bdi4jade.goal.Goal)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNoLongerDesired</h4>
<pre>public void setNoLongerDesired(<a href="../../bdi4jade/goal/Goal.html" title="interface in bdi4jade.goal">Goal</a> goal)</pre>
<div class="block">Sets a goal to be no longer desired.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>goal</code> - the goal to be no longer desired.</dd></dl>
</li>
</ul>
<a name="setOptionGenerationFunction(bdi4jade.reasoning.OptionGenerationFunction)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOptionGenerationFunction</h4>
<pre>public void setOptionGenerationFunction(<a href="../../bdi4jade/reasoning/OptionGenerationFunction.html" title="interface in bdi4jade.reasoning">OptionGenerationFunction</a> optionGenerationFunction)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>optionGenerationFunction</code> - the optionGenerationFunction to set</dd></dl>
</li>
</ul>
<a name="setPlanSelectionStrategy(bdi4jade.reasoning.PlanSelectionStrategy)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setPlanSelectionStrategy</h4>
<pre>public void setPlanSelectionStrategy(<a href="../../bdi4jade/reasoning/PlanSelectionStrategy.html" title="interface in bdi4jade.reasoning">PlanSelectionStrategy</a> planSelectionStrategy)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>planSelectionStrategy</code> - the planSelectionStrategy to set</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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/BDIAgent.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/BeliefBase.html" title="class in bdi4jade.core"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?bdi4jade/core/BDIAgent.html" target="_top">Frames</a></li>
<li><a href="BDIAgent.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="#fields_inherited_from_class_jade.core.Agent">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>Field | </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>