/// <inheritdoc /> /// <summary> /// Initializes the logger and writes header. /// </summary> /// <param name="evaluationLogger">The evaluation logger.</param> public void Initialize(IDataLogger evaluationLogger) { // Set the run phase evaluationLogger?.UpdateRunPhase(RunPhase.Primary); // Log the header evaluationLogger?.LogHeader(new List <LoggableElement> { new LoggableElement(EvaluationFieldElements.Generation, 0), new LoggableElement(EvaluationFieldElements.EvaluationCount, EvaluationCount), new LoggableElement(EvaluationFieldElements.StopConditionSatisfied, StopConditionSatisfied), new LoggableElement(EvaluationFieldElements.RunPhase, RunPhase.Initialization), new LoggableElement(EvaluationFieldElements.IsViable, false) }, _multiMazeWorldFactory.CreateMazeNavigationWorld(new MazeStructure(0, 0, 1), null).GetLoggableElements()); }