Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
StudyUpdateLinkCapacitiesStrategy.h
1//
2// Created by marechaljas on 16/06/22.
3//
4
5#pragma once
6
7#include "antares-xpansion/lpnamer/model/ActiveLinks.h"
8#include "antares-xpansion/study-updater/StudyUpdateStrategy.h"
10 public:
12 const std::filesystem::path& link_path,
13 std::shared_ptr<ProblemGenerationLog::ProblemGenerationLogger> logger);
14 int Update(const ActiveLink& link,
15 const std::map<std::string, double>& map) override;
16
17 private:
18 int UpdateLinkCapacities(
19 const ActiveLink& link_p,
20 const std::map<std::string, double>& investments_p) const;
21 std::vector<std::pair<double, double>> computeNewCapacitiesAllChronicles(
22 const std::map<std::string, double>& investments_p,
23 const ActiveLink& link_p, int timepoint_p) const;
24};
Definition StudyUpdateLinkCapacitiesStrategy.h:9
Definition StudyUpdateStrategy.h:11