Added GNUPLOT protection for MSVC compiler
This commit is contained in:
parent
7abbf595f7
commit
04ab952760
1 changed files with 2 additions and 1 deletions
|
|
@ -126,6 +126,7 @@ int main(int argc, char *argv[])
|
||||||
checkPoint.add(avg);
|
checkPoint.add(avg);
|
||||||
checkPoint.add(best);
|
checkPoint.add(best);
|
||||||
|
|
||||||
|
#if !defined(NO_GNUPLOT)
|
||||||
eoGnuplot1DMonitor gnuplotmonitor("gnuplotBestStats");
|
eoGnuplot1DMonitor gnuplotmonitor("gnuplotBestStats");
|
||||||
gnuplotmonitor.add(generationCounter);
|
gnuplotmonitor.add(generationCounter);
|
||||||
gnuplotmonitor.add(best);
|
gnuplotmonitor.add(best);
|
||||||
|
|
@ -142,7 +143,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
checkPoint.add(gnuplotmonitor);
|
checkPoint.add(gnuplotmonitor);
|
||||||
checkPoint.add(gnuplotAvgmonitor);
|
checkPoint.add(gnuplotAvgmonitor);
|
||||||
|
#endif
|
||||||
// GP Generation
|
// GP Generation
|
||||||
eoEasyEA<EoType> gp(checkPoint, eval, select, transform, replace);
|
eoEasyEA<EoType> gp(checkPoint, eval, select, transform, replace);
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue