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"
10 public:
11 explicit ZipProblemProviderAdapter(std::filesystem::path lp_dir,
12 std::string problem_name,
13 std::shared_ptr<ArchiveReader> ptr);
14 void reader_extract_file(const std::string& problem_name,
15 ArchiveReader& reader,
16 const std::filesystem::path& lpDir) const;
17 const std::filesystem::path lp_dir_;
18 const std::string problem_name_;
19 [[nodiscard]] std::shared_ptr<Problem> provide_problem(
20 const std::string& solver_name,
21 SolverLogManager& solver_log_manager) const override;
22 std::shared_ptr<ArchiveReader> archive_reader_;
23};
Definition ArchiveReader.h:9
Definition IProblemProviderPort.h:9
Definition SolverAbstract.h:16
Definition ZipProblemProviderAdapter.h:9