Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
ZipProblemProviderAdapter.h
1//
2// Created by marechaljas on 02/11/22.
3//
4
5#pragma once
6
7#include "antares-xpansion/lpnamer/problem_modifier/IProblemProviderPort.h"
8#include "antares-xpansion/lpnamer/problem_modifier/LinkProblemsGenerator.h"
9
11{
12public:
13 explicit ZipProblemProviderAdapter(std::filesystem::path lp_dir,
14 std::string problem_name,
15 std::shared_ptr<ArchiveReader> ptr);
16 void reader_extract_file(const std::string& problem_name,
17 ArchiveReader& reader,
18 const std::filesystem::path& lpDir) const;
19 const std::filesystem::path lp_dir_;
20 const std::string problem_name_;
21 [[nodiscard]] std::shared_ptr<Problem> provide_problem(
22 const std::string& solver_name,
23 SolverLogManager& solver_log_manager) const override;
24 std::shared_ptr<ArchiveReader> archive_reader_;
25};
Definition ArchiveReader.h:11
Definition IProblemProviderPort.h:10
Definition SolverAbstract.h:17
Definition ZipProblemProviderAdapter.h:11