1 #ifndef PROFILEINITIALIZER_H
2 #define PROFILEINITIALIZER_H
11 #include "../types/AlternativesPerformance.h"
12 #include "../types/Categories.h"
13 #include "../types/MRSortModel.h"
14 #include "../types/Perf.h"
15 #include "../types/Profiles.h"
89 const int nbCategories);
113 const int nbCategories,
114 const std::vector<float> &catFrequency,
115 std::vector<Perf> &candidates,
float delta = 0.001);
127 const std::vector<float> &catFre);
Set of Category datastructure.
Definition: Categories.h:28
Category datastructure.
Definition: Category.h:20
Criterion datastructure.
Definition: Criterion.h:21
Datastructure of the model to learn.
Definition: MRSortModel.h:37
Perf (single performance) data structure.
Definition: Perf.h:22
Profile initializer heuristic.
Definition: ProfileInitializer.h:28
ProfileInitializer(Config &config, AlternativesPerformance &altPerfs)
std::vector< Perf > initializeProfilePerformance(const Criterion &crit, Categories &categories, const std::vector< float > &catFre)
std::vector< float > categoryFrequency()
void initializeProfiles(MRSortModel &model)
void setAlternativesPerformance(AlternativesPerformance &newAltPerfs)
AlternativesPerformance getAlternativesPerformance() const
float weightedProbability(const Perf perfAlt, const Criterion &crit, const Category &catAbove, const Category &catBelow, const int nbCategories, const std::vector< float > &catFrequency, std::vector< Perf > &candidates, float delta=0.001)
std::vector< Perf > getProfilePerformanceCandidates(const Criterion &crit, const Category &cat, const int nbCategories)
ProfileInitializer(const ProfileInitializer &profInit)
High level configuration of the app.
Definition: config.h:20