public QualityIndicator(Problem problem, String paretoFrontFile) { _problem = problem; _trueParetoFront = MetricsUtil.ReadNonDominatedSolutionSet(paretoFrontFile); _trueParetoFrontHypervolume = new Hypervolume().HypervolumeValue( _trueParetoFront.WriteObjectivesToMatrix(), _trueParetoFront.WriteObjectivesToMatrix(), _problem.NumberOfObjectives); }
public RankingAndCrowdingSelection(Dictionary<string, object> parameters) : base(parameters) { if (parameters == null) { throw new ArgumentNullException("parameters"); } object parameter; if (parameters.TryGetValue("problem", out parameter)) { _problem = (Problem) parameter; } else { throw new Exception("problem not specified"); } }
public RealSolutionType(Problem problem) : base(problem) { if (problem == null) { throw new ArgumentNullException("problem"); } problem.VariableType = new Type[problem.NumberOfVariables]; problem.TypeOfSolution = this; // Initializing the types of the variables for (var i = 0; i < problem.NumberOfVariables; i++) { problem.VariableType[i] = typeof (Real); } }
public BaseSolutionType(Problem problem) { Problema = problem; }
public ThetaNsgaiii(Problem problema) : base(problema) { }
public BinaryRealSolutionType(Problem problem) : base(problem) { }
public PermutationSolutionType(Problem problem) : base(problem) { }
public ArrayRealSolutionType(Problem problem) : base(problem) { }
/// <summary> /// Constructor /// </summary> /// <param name="problema"> /// A <see cref="Core.Problem" /> /// </param> public Algorithm(Problem problema) : this() { Problema = problema; }
public IntSolutionType(Problem problem) : base(problem) { }
public Nsgaii(Problem problema) : base(problema) { }