15 std::shared_ptr<ProblemGenerationLog::ProblemGenerationLogger> logger)
16 : logger_(std::move(logger)) {}
18 std::vector<LinkProfile> ReadLinkProfile(
19 const std::filesystem::path& direct_filename,
20 const std::filesystem::path& indirect_file_name);
21 std::vector<LinkProfile> ReadLinkProfile(
22 const std::filesystem::path& direct_filename);
23 std::map<std::string, std::vector<LinkProfile>> getLinkProfileMap(
24 const std::filesystem::path& capacity_folder,
25 const std::vector<CandidateData>& candidateList);
29 std::map<std::string, std::vector<LinkProfile>>& mapLinkProfile,
30 const std::filesystem::path& capacitySubfolder,
31 const std::string& direct_profile_name,
32 const std::string& indirect_profile_name);
34 void ReadLinkProfile(
const std::filesystem::path& filename,
35 std::vector<LinkProfile>& result,
36 bool fillDirectProfile);
38 void ConstructChronicle(std::vector<LinkProfile>& result,
int chronicle_id)
const;
39 void UpdateProfile(std::vector<LinkProfile>& result,
bool directProfile,
40 double value,
int chronicle_id,
size_t time_step)
const;
41 void EnsureFileIsGood(
const std::filesystem::path& direct_filename)
const;
42 std::shared_ptr<ProblemGenerationLog::ProblemGenerationLogger> logger_;