Project
HeuristicPipeline.h
Go to the documentation of this file.
1 #ifndef HEURISTICPIPELINE_H
2 #define HEURISTICPIPELINE_H
3 
10 #include <vector>
11 
12 #include "../app.h"
13 #include "ProfileInitializer.h"
14 #include "ProfileUpdater.h"
15 #include "WeightUpdater.h"
16 
30 
31 public:
37 
43 
47  void orderModels();
48 
53  void customSort();
54 
55  // TODO This could be moved to the utils class, it doesn't really make sens to
56  // bound it to this class.
64 
65  std::vector<MRSortModel> models;
66 
67 private:
68  Config &conf;
69  AlternativesPerformance &altPerfs;
70 
71  WeightUpdater weightUpdater;
72  ProfileInitializer profileInitializer;
73  ProfileUpdater profileUpdater;
74 };
75 
76 #endif
Profile initializer heuristic.
Third step of the heuristic, updates the profiles given fixed weight and lambda.
Weight and Lambda update heuristic.
Dataset datastructure.
Definition: AlternativesPerformance.h:35
Global heuristic to learn a model.
Definition: HeuristicPipeline.h:29
void computeAccuracy(MRSortModel &model)
HeuristicPipeline(Config &config, AlternativesPerformance &altPerfs)
MRSortModel start()
Datastructure of the model to learn.
Definition: MRSortModel.h:37
Profile initializer heuristic.
Definition: ProfileInitializer.h:28
Third step of the heuristic, updates the profiles given fixed weight and lambda.
Definition: ProfileUpdater.h:29
Weight and Lambda update heuristic.
Definition: WeightUpdater.h:33
High level configuration of the app.
Definition: config.h:20