From f22f033d520479b229bae48b1b260894e36e0d21 Mon Sep 17 00:00:00 2001 From: nojhan Date: Tue, 9 Jun 2020 13:43:43 +0200 Subject: [PATCH] update the IOH interface --- problems/eval/eoEvalIOH.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/problems/eval/eoEvalIOH.h b/problems/eval/eoEvalIOH.h index a917ce0f5..7a5c1b5a6 100644 --- a/problems/eval/eoEvalIOH.h +++ b/problems/eval/eoEvalIOH.h @@ -2,9 +2,9 @@ #ifndef _eoEvalIOH_h #define _eoEvalIOH_h -#include -#include -#include +#include +#include +#include #include /** Wrap an IOHexperimenter's problem class within an eoEvalFunc. @@ -36,7 +36,7 @@ class eoEvalIOHproblem : public eoEvalFunc _has_log(true), _ioh_log(&log) { - _ioh_log->target_problem(*_ioh_pb); + _ioh_log->track_problem(*_ioh_pb); } virtual void operator()(EOT& sol) @@ -58,7 +58,7 @@ class eoEvalIOHproblem : public eoEvalFunc void problem(IOHprofiler_problem & pb ) { _ioh_pb = &pb; - _ioh_log->target_problem(pb); + _ioh_log->track_problem(pb); } bool has_logger() const {return _has_log;} @@ -75,7 +75,7 @@ class eoEvalIOHproblem : public eoEvalFunc { Fitness f = _ioh_pb->evaluate(sol); if(_has_log) { - _ioh_log->write_line(_ioh_pb->loggerInfo()); + _ioh_log->do_log(_ioh_pb->loggerInfo()); } return f; } @@ -305,7 +305,7 @@ class eoEvalIOHsuite : public eoEvalFunc { static_assert(std::is_convertible::value); assert(_eval.has_logger()); - _ioh_log.target_suite(suite); + _ioh_log.track_suite(suite); } virtual void operator()(EOT& sol)