Definition in file CaDesigner.cpp.
#include "config.h"
#include "CaDesigner.h"
#include "Color.h"

Go to the source code of this file.
Typedefs | |
| typedef GASimpleGA | TGeneticAlgorithm |
| Change this typedef to use another GA algorithm. | |
Functions | |
| std::ostream & | operator<< (std::ostream &str, const GaCaRules &data) |
| Simple serialization of GaCaRules object to string. | |
| void | writeStats (CaDesigner *solver, std::ostream &str) |
| typedef GASimpleGA TGeneticAlgorithm |
Change this typedef to use another GA algorithm.
Tested with GASimpleGA, GASteadyStateGA, GAIncrementalGA and GADemeGA.
Definition at line 62 of file CaDesigner.cpp.
| std::ostream& operator<< | ( | std::ostream & | str, | |
| const GaCaRules & | rules | |||
| ) |
Simple serialization of GaCaRules object to string.
| str | Standard output stream to write to. | |
| rules | GaCaRules object ought to be serialized. |
Definition at line 144 of file CaDesigner.cpp.
References GaCaRules::size().

| void @2::writeStats | ( | CaDesigner * | solver, | |
| std::ostream & | str | |||
| ) | [static] |
Definition at line 561 of file CaDesigner.cpp.
References CaDesigner::avgFitness(), C_LIGHT_GREEN, C_NO_COLOR, C_YELLOW, CaDesigner::getStatistics(), AbstractProcessWatched::getTimeElapsed(), CaDesigner::minFitness(), and CaDesigner::stopAtGeneration().
Referenced by ResultsWatch::notify(), and FitnessWatch::notify().


1.5.4