|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFitnessEvaluation.HelloWorld.WorldWriter
public class WorldWriter
Class to be extended by HelloWorldBSF Contains methods for appending, printing and calculating the fitness compared to "geva"
Field Summary | |
---|---|
static java.lang.String |
s
|
Constructor Summary | |
---|---|
WorldWriter()
Create an instance |
Method Summary | |
---|---|
double |
calculateFitness()
Compare a string. |
void |
writeChar(char c)
Append a char to the string |
void |
writeChar(java.util.HashMap c)
Append a char to the string from a hashmap |
void |
writeChar(java.lang.String c)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String s
Constructor Detail |
---|
public WorldWriter()
Method Detail |
---|
public void writeChar(char c)
c
- char to appendpublic void writeChar(java.lang.String c)
public void writeChar(java.util.HashMap c)
c
- structure containg a charpublic double calculateFitness()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |