MTCT
Design Automation and Optimization for ETCS Railway Networks
Loading...
Searching...
No Matches
GeneralSolver.hpp File Reference
#include "CustomExceptions.hpp"
#include "GeneralHelper.hpp"
#include "nlohmann/json.hpp"
#include "nlohmann/json_fwd.hpp"
#include "probleminstances/GeneralProblemInstance.hpp"
#include "gtest/gtest_prod.h"
#include <chrono>
#include <concepts>
#include <cstdint>
#include <exception>
#include <filesystem>
#include <fstream>
#include <optional>
#include <plog/Log.h>
#include <string>
#include <type_traits>
#include <unordered_map>
#include <utility>

Go to the source code of this file.

Classes

struct  cda_rail::solver::GeneralSolutionSettings
 Where a solver writes its solution to, see GeneralSolver::export_general_solution. More...
class  cda_rail::solver::GeneralSolver< T, S >
 Base of every solver, connecting an instance type to its solution type. More...
struct  cda_rail::solver::GeneralSolver< T, S >::IsSingleInstanceArgument< Args >
struct  cda_rail::solver::GeneralSolver< T, S >::IsSingleInstanceArgument< Arg >
struct  cda_rail::solver::GeneralSolver< T, S >::FurtherData
 Solver-specific values to be written to solver_data.json. More...

Namespaces

namespace  cda_rail
namespace  cda_rail::solver

Macros

#define TEST_FRIENDS   false

Enumerations

enum class  cda_rail::solver::GeneralExportOption : std::uint8_t { cda_rail::solver::NoExport = 0 , cda_rail::solver::ExportSolution = 1 , cda_rail::solver::ExportSolutionWithInstance = 2 }
 What a solver writes to disk once it is done. More...

Functions

void cda_rail::solver::write_solver_data (std::filesystem::path const &export_directory, nlohmann::json const &solver_data)
 Writes solver data, see GeneralSolver::get_solver_data, to solver_data.json in export_directory.

Macro Definition Documentation

◆ TEST_FRIENDS

#define TEST_FRIENDS   false