|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectUtil.Statistics.IndividualCatcher
public class IndividualCatcher
Stores Individuals
| Constructor Summary | |
|---|---|
IndividualCatcher()
Creates a new instance of StatCatcher |
|
IndividualCatcher(java.util.Properties p)
New instance |
|
| Method Summary | |
|---|---|
void |
addPop(java.util.List<Individual> population)
Add the population to a StringBuffer. |
void |
addString(java.lang.String s)
Add a string to the string buffer |
void |
clear()
Clear the stringbuffer |
int |
getCapacity()
Get the capacity of the stringbuffer |
int |
getCatchInterval()
Get catch intervall |
void |
setCatchInterval(int catchInterval)
Individuals in the population are stored according to this interval. |
void |
setProperties(java.util.Properties p)
Set properties |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IndividualCatcher()
public IndividualCatcher(java.util.Properties p)
p - properties| Method Detail |
|---|
public void setProperties(java.util.Properties p)
ParameterI
setProperties in interface ParameterIp - object containing propertiespublic void addPop(java.util.List<Individual> population)
population - Populationpublic void addString(java.lang.String s)
s - stringpublic void clear()
public int getCapacity()
public void setCatchInterval(int catchInterval)
catchInterval - Interval for catchingpublic int getCatchInterval()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||