MTCT
Design Automation and Optimization for ETCS Railway Networks
Loading...
Searching...
No Matches
CompletionHeuristic.hpp File Reference
#include "probleminstances/GeneralProblemInstance.hpp"
#include "simulator/GeneralSimulator.hpp"
#include <cstddef>
#include <optional>

Go to the source code of this file.

Namespaces

namespace  cda_rail
namespace  cda_rail::solver
namespace  cda_rail::solver::astar_based

Functions

std::optional< simulator::SimulatorState > cda_rail::solver::astar_based::complete_routes (const instances::GeneralProblemInstanceWithScheduleAndRoutes &instance, simulator::SimulatorState state)
 Completes the routes and stops of a state heuristically.
bool cda_rail::solver::astar_based::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 > cda_rail::solver::astar_based::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.