Definition in file nucad.cpp.
#include "config.h"
#include "CaDesigner.h"
#include "CaFactory.h"
#include "Color.h"
#include <ga/GAStatistics.h>
Go to the source code of this file.
Functions | |
template<typename OBSERVER, typename SUBJECT, typename ARG> | |
OBSERVER * | createAttached (SUBJECT *subject, ARG &arg) |
Create observer observer and attach it to subject. | |
int | main (int argc, char *argv[]) |
OBSERVER* createAttached | ( | SUBJECT * | subject, | |
ARG & | arg | |||
) | [inline] |
Create observer observer and attach it to subject.
OBSERVER | Observer's class to create and attach. | |
subject | ISubject object ought to be observed. | |
arg | Object, pointer or reference given to observer as a second parameter. |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 55 of file nucad.cpp.
References C_LIGHT_GREEN, C_LIGHT_RED, C_NO_COLOR, C_YELLOW, CaDesigner::create(), CaEvaluatorFactory::create(), Color::enable(), GA_MAX_RUNS, GA_MAX_SLNS, GA_MAX_TIME_PER_RUN, GA_MIN_SLNS, and FitnessWatch::reset().