#region License Information
/* HeuristicLab
* Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL)
*
* This file is part of HeuristicLab.
*
* HeuristicLab is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* HeuristicLab is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with HeuristicLab. If not, see .
*/
#endregion
using System.Collections.Generic;
using System.Threading;
using HEAL.Attic;
using HeuristicLab.Core;
namespace HeuristicLab.Optimization {
[StorableType("609e74a2-d5e7-4495-b47c-2d365a8d717c")]
public interface IMultiObjectiveProblemDefinition {
int Objectives { get; }
bool[] Maximization { get; }
IReadOnlyList BestKnownFront { get; }
double[] ReferencePoint { get; }
}
[StorableType("39eacdb5-80a0-425d-902a-00eb3e1d6610")]
public interface IMultiObjectiveProblemDefinition : IMultiObjectiveProblemDefinition, IProblemDefinition
where TEncoding : class, IEncoding
where TEncodedSolution : class, IEncodedSolution {
double[] Evaluate(TEncodedSolution solution, IRandom random);
double[] Evaluate(TEncodedSolution solution, IRandom random, CancellationToken cancellationToken);
void Analyze(TEncodedSolution[] solutions, double[][] qualities, ResultCollection results, IRandom random);
}
}