initialCommit 4 ans en retard
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#ifndef STFINSTANCEINFOSTATSV2_HPP
|
||||
#define STFINSTANCEINFOSTATSV2_HPP
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <nlohmann/json.hpp>
|
||||
#include "ExclusionInfo.hpp"
|
||||
|
||||
namespace modellib {
|
||||
|
||||
class PlanificationStats {
|
||||
private:
|
||||
std::vector<ExclusionInfo> m_reasons;
|
||||
public:
|
||||
unsigned int nbRames;
|
||||
unsigned int nbSites;
|
||||
unsigned int nbVoies;
|
||||
std::unordered_map<unsigned int, unsigned int> mapOpPlan;
|
||||
std::unordered_map<unsigned int, unsigned int> mapOpExcluAmont;
|
||||
std::unordered_map<unsigned int, unsigned int> mapOpExcluAval;
|
||||
std::unordered_map<unsigned int, unsigned int> mapOpDiag;
|
||||
|
||||
PlanificationStats() = default;
|
||||
|
||||
std::vector<ExclusionInfo> &getReasons() { return m_reasons; };
|
||||
|
||||
nlohmann::json to_json();
|
||||
};
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user