9#include "antares-xpansion/lpnamer/model/ActiveLinks.h"
10#include "antares-xpansion/helpers/AntaresVersionProvider.h"
11#include "antares-xpansion/lpnamer/problem_modifier/LinkProblemsGenerator.h"
18 double directCapacity_;
56 std::string
to_row(std::string
const& sep_p)
const;
Definition LinkdataRecord.h:17
double pShiftMin_
7th column of the file : power shift min.
Definition LinkdataRecord.h:30
double loopFlow_
6th column of the file : loop flow
Definition LinkdataRecord.h:28
double indirectCapacity_
2nd column of the file : indirect capacity of the link
Definition LinkdataRecord.h:20
double pShiftMax_
8th column of the file : power shift max.
Definition LinkdataRecord.h:32
double directHurdlesCost_
3rd column of the file : direct hurdles cost
Definition LinkdataRecord.h:22
double impedances_
5th column of the file : impedances
Definition LinkdataRecord.h:26
double indirectHurdlesCost_
4th column of the file : indirect hurdles cost
Definition LinkdataRecord.h:24
struct describing a line in a linkdata file of antares
Definition LinkdataRecord.h:16
std::string to_row(std::string const &sep_p) const
returns a one-line string describing the LinkdataRecord
Definition LinkdataRecord.cpp:40
void reset()
reset the LinkdataRecord attributes to 0
Definition LinkdataRecord.cpp:10
void fillFromRow(std::string const &line_p)
populates the LinkdataRecord attributes for a string
Definition LinkdataRecord.cpp:21
void updateCapacities(double directCapacity_p, double indirectCapacity_p)
update the capacities of the LinkdataRecord
Definition LinkdataRecord.cpp:34
LinkdataRecord()
LinkdataRecord constructor.
Definition LinkdataRecord.cpp:3