open-route.cpp
Go to the documentation of this file.
static void run(const Options &opt, Script *s=nullptr)
void update(Space &home, OpenVarList< Var > &s)
Update during cloning.
Definition open-var-list.hpp:317
int known_length(void) const
Return the number of constructed positions (their values may be unassigned).
Definition open-var-list.hpp:323
OpenIntVarList route
Node IDs in route order, including source and destination.
Definition open-route.cpp:59
void print(std::ostream &os) const override
Print the materialized route (complete in a solution).
Definition open-route.cpp:101
static const int node_count
Number of graph nodes and maximal route length.
Definition open-route.cpp:57
OpenRoute(OpenRoute &s)
Constructor for cloning s, including the space-local open list.
Definition open-route.cpp:89
Driver::ScriptBase< Driver::IgnoreStepOption< Space > > Script
Base-class for scripts.
Definition driver.hh:1002
void branch(Home home, const FloatVarArgs &x, FloatVarBranch vars, FloatValBranch vals, FloatBranchFilter bf=nullptr, FloatVarValPrint vvp=nullptr)
Branch over x with variable selection vars and value selection vals.
void extensional(Home home, const IntVarArgs &x, DFA d, IntPropLevel ipl=IPL_DEF)
Post domain consistent propagator for extensional constraint described by a DFA.
Gecode toplevel namespace
void distinct(Home home, const IntVarArgs &x, IntPropLevel ipl=IPL_DEF)
Post propagator for for all .
