1#ifndef CDA_RAIL_SOLVER_ASTAR_BASED_COMPLETIONHEURISTIC_HPP
2#define CDA_RAIL_SOLVER_ASTAR_BASED_COMPLETIONHEURISTIC_HPP
75[[nodiscard]] std::optional<simulator::SimulatorState>
78 bool late_entry_possible,
bool limit_speed_by_leaving_edges);
An instance consisting of a network, a timetable, and routes.
Definition GeneralProblemInstance.hpp:191
Definition GeneralSimulator.hpp:104
Definition EventSimulator.hpp:25
Definition CompletionHeuristic.hpp:10
std::optional< simulator::SimulatorState > complete_routes(const instances::GeneralProblemInstanceWithScheduleAndRoutes &instance, simulator::SimulatorState state)
Completes the routes and stops of a state heuristically.
Definition CompletionHeuristic.cpp:100
bool serve_stops_along_route(const instances::GeneralProblemInstanceWithScheduleAndRoutes &instance, simulator::SimulatorState &state, std::size_t tr)
Serves the stops of a train along its route as complete_routes does, i.e., at the end of the platform...
std::optional< simulator::SimulatorState > complete_state(simulator::GeneralSimulator &simulator, simulator::SimulatorState state, double dt, bool late_entry_possible, bool limit_speed_by_leaving_edges)
Completes a state to a final state heuristically.
Definition CompletionHeuristic.cpp:246
Everything a simulation run needs beyond the instance itself.
Definition GeneralSimulator.hpp:74