Newer
Older
ecologia / doc / javadoc / model / Genome.html
<!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_111) on Mon Dec 19 20:43:55 CET 2016 -->
<title>Genome</title>
<meta name="date" content="2016-12-19">
<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="Genome";
        }
    }
    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};
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="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">Ecologia</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../model/Direction.html" title="enum in model"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../model/Herbivore.html" title="class in model"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?model/Genome.html" target="_top">Frames</a></li>
<li><a href="Genome.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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">model</div>
<h2 title="Class Genome" class="title">Class Genome</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>model.Genome</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Genome</span>
extends java.lang.Object</pre>
<div class="block">A genome holds a number of variables ("genes") that determine an animals characteristics.
 Note: this class has three constructors!</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== 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">&nbsp;</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>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#ageLimit">ageLimit</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static <a href="../model/Genome.html" title="class in model">Genome</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#carnivoreGenome">carnivoreGenome</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#DEFAULT_MUTATION_RATE">DEFAULT_MUTATION_RATE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#gestation">gestation</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static <a href="../model/Genome.html" title="class in model">Genome</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#herbivoreGenome">herbivoreGenome</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#maturityAge">maturityAge</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#metabolism">metabolism</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#mutationRate">mutationRate</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.util.Random</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#random">random</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#reproductionRate">reproductionRate</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#reproductiveEnergy">reproductiveEnergy</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#sight">sight</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#speed">speed</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#stamina">stamina</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#strength">strength</a></span></code>&nbsp;</td>
</tr>
</table>
</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">&nbsp;</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="../model/Genome.html#Genome--">Genome</a></span>()</code>
<div class="block">The default constructor provides a standard genome.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../model/Genome.html#Genome-model.Genome-">Genome</a></span>(<a href="../model/Genome.html" title="class in model">Genome</a>&nbsp;parentGenome)</code>
<div class="block">This constructor creates a new genome based on the parent genome passed 
 to it, mutating it at random.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../model/Genome.html#Genome-java.util.HashMap-">Genome</a></span>(java.util.HashMap&lt;java.lang.String,java.lang.Integer&gt;&nbsp;genVars)</code>
<div class="block">This constructor creates a genome from a HashMap.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../model/Genome.html#Genome-int-int-int-int-int-int-int-int-int-int-int-">Genome</a></span>(int&nbsp;mutationRate,
      int&nbsp;speed,
      int&nbsp;stamina,
      int&nbsp;sight,
      int&nbsp;metabolism,
      int&nbsp;ageLimit,
      int&nbsp;strength,
      int&nbsp;reproductiveEnergy,
      int&nbsp;maturityAge,
      int&nbsp;gestation,
      int&nbsp;reproductionRate)</code>
<div class="block">This constructor creates a genome from the values passed to it.</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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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>java.util.HashMap&lt;java.lang.String,java.lang.Integer&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#asHashMap--">asHashMap</a></span>()</code>
<div class="block">Return all the "genes" of this genome in a single HashMap.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#checkGenome--">checkGenome</a></span>()</code>
<div class="block">Check to make sure that no "gene" has a value below zero</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#getAgeLimit--">getAgeLimit</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#getGestation--">getGestation</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#getMaturityAge--">getMaturityAge</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#getMetabolism--">getMetabolism</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#getMutationRate--">getMutationRate</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#getReproductionRate--">getReproductionRate</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#getReproductiveEnergy--">getReproductiveEnergy</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#getSight--">getSight</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#getSpeed--">getSpeed</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#getStamina--">getStamina</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#getStrength--">getStrength</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../model/Genome.html#mutation-int-">mutation</a></span>(int&nbsp;coefficient)</code>
<div class="block">Returns a mutation factor depending on the specified mutation rate.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, 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">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="mutationRate">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mutationRate</h4>
<pre>private&nbsp;int mutationRate</pre>
</li>
</ul>
<a name="speed">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>speed</h4>
<pre>private&nbsp;int speed</pre>
</li>
</ul>
<a name="stamina">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stamina</h4>
<pre>private&nbsp;int stamina</pre>
</li>
</ul>
<a name="sight">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sight</h4>
<pre>private&nbsp;int sight</pre>
</li>
</ul>
<a name="metabolism">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>metabolism</h4>
<pre>private&nbsp;int metabolism</pre>
</li>
</ul>
<a name="ageLimit">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ageLimit</h4>
<pre>private&nbsp;int ageLimit</pre>
</li>
</ul>
<a name="strength">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>strength</h4>
<pre>private&nbsp;int strength</pre>
</li>
</ul>
<a name="reproductiveEnergy">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reproductiveEnergy</h4>
<pre>private&nbsp;int reproductiveEnergy</pre>
</li>
</ul>
<a name="maturityAge">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maturityAge</h4>
<pre>private&nbsp;int maturityAge</pre>
</li>
</ul>
<a name="gestation">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>gestation</h4>
<pre>private&nbsp;int gestation</pre>
</li>
</ul>
<a name="reproductionRate">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reproductionRate</h4>
<pre>private&nbsp;int reproductionRate</pre>
</li>
</ul>
<a name="DEFAULT_MUTATION_RATE">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_MUTATION_RATE</h4>
<pre>private final&nbsp;int DEFAULT_MUTATION_RATE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../constant-values.html#model.Genome.DEFAULT_MUTATION_RATE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="herbivoreGenome">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>herbivoreGenome</h4>
<pre>private static&nbsp;<a href="../model/Genome.html" title="class in model">Genome</a> herbivoreGenome</pre>
</li>
</ul>
<a name="carnivoreGenome">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>carnivoreGenome</h4>
<pre>private static&nbsp;<a href="../model/Genome.html" title="class in model">Genome</a> carnivoreGenome</pre>
</li>
</ul>
<a name="random">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>random</h4>
<pre>private&nbsp;java.util.Random random</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="Genome--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Genome</h4>
<pre>public&nbsp;Genome()</pre>
<div class="block">The default constructor provides a standard genome.</div>
</li>
</ul>
<a name="Genome-model.Genome-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Genome</h4>
<pre>public&nbsp;Genome(<a href="../model/Genome.html" title="class in model">Genome</a>&nbsp;parentGenome)</pre>
<div class="block">This constructor creates a new genome based on the parent genome passed 
 to it, mutating it at random.</div>
</li>
</ul>
<a name="Genome-int-int-int-int-int-int-int-int-int-int-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Genome</h4>
<pre>public&nbsp;Genome(int&nbsp;mutationRate,
              int&nbsp;speed,
              int&nbsp;stamina,
              int&nbsp;sight,
              int&nbsp;metabolism,
              int&nbsp;ageLimit,
              int&nbsp;strength,
              int&nbsp;reproductiveEnergy,
              int&nbsp;maturityAge,
              int&nbsp;gestation,
              int&nbsp;reproductionRate)</pre>
<div class="block">This constructor creates a genome from the values passed to it.</div>
</li>
</ul>
<a name="Genome-java.util.HashMap-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Genome</h4>
<pre>public&nbsp;Genome(java.util.HashMap&lt;java.lang.String,java.lang.Integer&gt;&nbsp;genVars)</pre>
<div class="block">This constructor creates a genome from a HashMap.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="mutation-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mutation</h4>
<pre>private&nbsp;int&nbsp;mutation(int&nbsp;coefficient)</pre>
<div class="block">Returns a mutation factor depending on the specified mutation rate.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>coefficient</code> - Influences the size of the returned factor.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>factor The wanted mutation factor.</dd>
</dl>
</li>
</ul>
<a name="checkGenome--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkGenome</h4>
<pre>private&nbsp;void&nbsp;checkGenome()</pre>
<div class="block">Check to make sure that no "gene" has a value below zero</div>
</li>
</ul>
<a name="asHashMap--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asHashMap</h4>
<pre>public&nbsp;java.util.HashMap&lt;java.lang.String,java.lang.Integer&gt;&nbsp;asHashMap()</pre>
<div class="block">Return all the "genes" of this genome in a single HashMap.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>genomeInfo</dd>
</dl>
</li>
</ul>
<a name="getMutationRate--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMutationRate</h4>
<pre>public&nbsp;int&nbsp;getMutationRate()</pre>
</li>
</ul>
<a name="getSpeed--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpeed</h4>
<pre>public&nbsp;int&nbsp;getSpeed()</pre>
</li>
</ul>
<a name="getStamina--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStamina</h4>
<pre>public&nbsp;int&nbsp;getStamina()</pre>
</li>
</ul>
<a name="getSight--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSight</h4>
<pre>public&nbsp;int&nbsp;getSight()</pre>
</li>
</ul>
<a name="getMetabolism--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMetabolism</h4>
<pre>public&nbsp;int&nbsp;getMetabolism()</pre>
</li>
</ul>
<a name="getAgeLimit--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAgeLimit</h4>
<pre>public&nbsp;int&nbsp;getAgeLimit()</pre>
</li>
</ul>
<a name="getStrength--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStrength</h4>
<pre>public&nbsp;int&nbsp;getStrength()</pre>
</li>
</ul>
<a name="getReproductiveEnergy--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReproductiveEnergy</h4>
<pre>public&nbsp;int&nbsp;getReproductiveEnergy()</pre>
</li>
</ul>
<a name="getMaturityAge--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaturityAge</h4>
<pre>public&nbsp;int&nbsp;getMaturityAge()</pre>
</li>
</ul>
<a name="getGestation--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGestation</h4>
<pre>public&nbsp;int&nbsp;getGestation()</pre>
</li>
</ul>
<a name="getReproductionRate--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getReproductionRate</h4>
<pre>public&nbsp;int&nbsp;getReproductionRate()</pre>
</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="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">Ecologia</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../model/Direction.html" title="enum in model"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../model/Herbivore.html" title="class in model"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?model/Genome.html" target="_top">Frames</a></li>
<li><a href="Genome.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>