dignea  1.0.0
Diverse Instance Generator with Novelty Search and Evolutionary Algorithms
InstanceFitness.h
1 //
2 // Created by amarrero on 25/3/21.
3 //
4 
5 #ifndef DIGNEA_INSTANCEFITNESS_H
6 #define DIGNEA_INSTANCEFITNESS_H
7 
8 #include <dignea/core/Front.h>
9 
10 #include <memory>
11 
18  public:
19  InstanceFitness() = default;
20 
21  virtual ~InstanceFitness() = default;
30  virtual float compute(const vector<float> &solutions) const = 0;
31 };
32 
33 #endif // DIGNEA_INSTANCEFITNESS_H
Interface to define the fitness calculation of the instances evolved by EIG.
Definition: InstanceFitness.h:17
virtual float compute(const vector< float > &solutions) const =0
Computes the fitness of an instance evolved by EIG based on the performance of several solvers....