|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjenes.tutorials.problem2.PatternProblem
public class PatternProblem
Constructor Summary | |
---|---|
PatternProblem()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
void |
onGeneration(GeneticAlgorithm ga,
long time)
Invoked when at the end of one generation step |
void |
run(int[] target,
int precision)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PatternProblem()
Method Detail |
---|
public void run(int[] target, int precision)
public void onGeneration(GeneticAlgorithm ga, long time)
GenerationEventListener
onGeneration
in interface GenerationEventListener
ga
- the genetic algorithm generating the eventtime
- the event time expressed in millisecondspublic static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |