#region License Information
/* HeuristicLab
* Copyright (C) 2002-2017 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 HEAL.Attic;
using HeuristicLab.Common;
using HeuristicLab.Core;
using HeuristicLab.Parameters;
namespace HeuristicLab.Analysis.FitnessLandscape {
[Item("Path-Relinking Problem Instance Analyzer", "Tries to identify the current problem instance being solved by analyzing the output of path-relinking heuristics.")]
[StorableType("1CBE2C82-1D1F-4C4E-BEC7-40EC914CB6C6")]
public abstract class PrProblemInstanceAnalyzer : ProblemInstanceAnalyzer where T : class, IDeepCloneable {
[Storable]
private ILookupParameter> pathsParameter;
public ILookupParameter> PathsParameter {
get { return pathsParameter; }
}
[StorableConstructor]
protected PrProblemInstanceAnalyzer(StorableConstructorFlag _) : base(_) { }
protected PrProblemInstanceAnalyzer(PrProblemInstanceAnalyzer original, Cloner cloner)
: base(original, cloner) {
pathsParameter = cloner.Clone(original.pathsParameter);
}
public PrProblemInstanceAnalyzer() {
Parameters.Add(pathsParameter = new LookupParameter>("RelinkedPaths", ""));
}
}
}