<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Agents</title><link>https://sourceforge.net/p/split-bot/wiki/Agents/</link><description>Recent changes to Agents</description><atom:link href="https://sourceforge.net/p/split-bot/wiki/Agents/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 19 Jan 2014 13:47:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/split-bot/wiki/Agents/feed" rel="self" type="application/rss+xml"/><item><title>Agents modified by Anonymous</title><link>https://sourceforge.net/p/split-bot/wiki/Agents/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="agents-specifications"&gt;Agents specifications&lt;/h1&gt;
&lt;h1 id="about-behaviors"&gt;About behaviors&lt;/h1&gt;
&lt;p&gt;Here are the agents I plan to develop. Agents control several Behaviors to achieve a given goal. &lt;/p&gt;
&lt;h1 id="specifications"&gt;specifications&lt;/h1&gt;
&lt;h2 id="agentbase"&gt;AgentBase&lt;/h2&gt;
&lt;p&gt;At start, an agent is given &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a set of units &lt;/li&gt;
&lt;li&gt;a name for debug and fun &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All agents have &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;stressLevel &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;The stress level is an instance of the StressLevel class. &lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;sequences &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;A set of sequences used to check the behaviors statuses at regular intervals. &lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;static agents &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;List of all the Agents created so far. &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;All behaviors can &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;createAgent &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;Creates an other agent of the given type. &lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;destroyAgent &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;Destroy an agent. &lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="chiefagent"&gt;ChiefAgent&lt;/h2&gt;
&lt;p&gt;Create the other agents and dispatch the units among them. It is the first created agent, initialized with all available units. &lt;/p&gt;
&lt;p&gt;It has these properties &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;machinaSexualAgent &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;Reference to an agent of type MachinaSexual &lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;destroyerAgent &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;Reference to an agent of type DestroyerAgent &lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;workingAgent &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;Reference to an agent of type WorkingAgent &lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;builderAgent &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;Reference to an agent of type BuilderAgent &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It does these actions in this order &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;create a BuilderAgent and give it a proportion of the units - builders only &lt;/li&gt;
&lt;li&gt;create a WorkingAgent object and give it a proportion of the units - workers only &lt;/li&gt;
&lt;li&gt;create a MachinaSexual agent and ask him for a few more units, depending on the available resources &lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="machinasexual"&gt;MachinaSexual&lt;/h2&gt;
&lt;p&gt;In charge of making units. &lt;/p&gt;
&lt;h2 id="destroyeragent"&gt;DestroyerAgent&lt;/h2&gt;
&lt;p&gt;Attacks a city. &lt;/p&gt;
&lt;h2 id="workingagent"&gt;WorkingAgent&lt;/h2&gt;
&lt;p&gt;Works, i.e. harvest resources. &lt;/p&gt;
&lt;h2 id="builderagent"&gt;BuilderAgent&lt;/h2&gt;
&lt;p&gt;This Agent is in charge of building, it is the only one who is able to build entities - not units. It is in charge of finding the right places, of building the right amount of building types. &lt;/p&gt;
&lt;p&gt;This Agent handles these behaviors &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;PopulationWatcher &lt;/li&gt;
&lt;li&gt;OnDemandBuilder &lt;/li&gt;
&lt;li&gt;DefenseWatcher &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;At start, create the behaviors and give the OnDemandBuilder an amout of units, depending on the available resources and the available units. The &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 19 Jan 2014 13:47:08 -0000</pubDate><guid>https://sourceforge.netdd2cfd0c0917fc0dfc6fdca689cad4df3cf62301</guid></item></channel></rss>