Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/26/19 10:02:47 (5 years ago)
Author:
abeham
Message:

#2521: worked on removing virtual from Maximization for single-objective problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.GraphColoring/3.3/GraphColoringProblem.cs

    r17226 r17270  
    4242    IProblemInstanceConsumer<GCPData>, IProblemInstanceExporter<GCPData> {
    4343
    44     public override bool Maximization {
    45       get { return false; }
    46     }
    47 
    4844    [Storable]
    4945    private IValueParameter<IntMatrix> adjacencyListParameter;
     
    7672    }
    7773    public GraphColoringProblem() {
     74      Maximization = false;
    7875      Parameters.Add(adjacencyListParameter = new ValueParameter<IntMatrix>("Adjacency List", "The adjacency list that describes the (symmetric) edges in the graph with nodes from 0 to N-1."));
    7976      Parameters.Add(fitnessFunctionParameter = new ValueParameter<EnumValue<FitnessFunction>>("Fitness Function", "The function to use for evaluating the quality of a solution.", new EnumValue<FitnessFunction>(FitnessFunction.Penalized)));
Note: See TracChangeset for help on using the changeset viewer.