3 #ifndef DIGNEA_KP_DEFAULT_HEURISTIC_H
4 #define DIGNEA_KP_DEFAULT_HEURISTIC_H
6 #include <dignea/core/Heuristic.h>
9 #include <nlohmann/json.hpp>
27 string getName()
const {
return "Default KP"; };
29 string getID()
const {
return "Def"; }
31 void setProblem(shared_ptr<KP> prob);
33 void setProblem(
KP *prob);
nlohmann::json json
Definition: MinKnap.h:85
Default Heuristic for the Knapsack Problem. Tries to insert each item in the knapsack while there is ...
Definition: Default.h:19
string getName() const
Returns the name of the algorithm, this is used in the to_json method. Must be implemented in the sub...
Definition: Default.h:27
string getID() const
Returns the identificator of the algorithm, this is used in the to_json method. Must be implemented i...
Definition: Default.h:29
Front class which stores the final results of an EA execution.
Definition: Front.h:26
Base heuristic class. This is the skeleton for future heuristic implementations. Extends AbstractEA f...
Definition: Heuristic.h:19
Class representing a Knapsack Problem.
Definition: KP.h:28