blackbox.hh
Go to the documentation of this file.
Access to the model-local blackbox context while posting and searching.
Definition blackbox.hh:81
static BlackBoxContextHandle & context(FlatZincSpace &s)
Definition flatzinc.cpp:878
Model-local context shared by blackbox propagators and search support.
Definition blackbox.hh:56
void rethrow(void) const
Rethrow the first recorded propagation exception.
Definition blackbox-propagator.cpp:121
SharedHandle backendForConstraint(const std::string &mode, const std::string &target, const std::vector< std::string > &args) const
Return the backend selected for one constraint as an opaque handle.
Definition blackbox-propagator.cpp:102
BlackBoxContextHandle(const BlackBoxContextHandle &handle)
Definition blackbox.hh:59
void fail(std::exception_ptr e) const
Record the first exception raised during blackbox propagation.
Definition blackbox-propagator.cpp:110
BlackBoxContextHandle & operator=(const BlackBoxContextHandle &handle)
Definition blackbox.hh:61
BlackBoxContextHandle(void)
Definition blackbox.hh:58
bool failed(void) const
Whether blackbox propagation raised an exception.
Definition blackbox-propagator.cpp:115
A space that can be initialized with a FlatZinc model.
Definition flatzinc.hh:424
Interpreter for the FlatZinc language.
void blackbox_bounds(Home home, BlackBoxContextHandle &context, const IntVarArgs &ivar, const FloatVarArgs &fvar, const std::string &mode, const std::string &target, const std::vector< std::string > &args, const std::vector< int > &reason)
Definition blackbox-propagator.cpp:681
void blackbox(Home home, BlackBoxContextHandle &context, const IntVarArgs &int_in, const IntVarArgs &int_out, const FloatVarArgs &float_in, const FloatVarArgs &float_out, const std::string &mode, const std::string &target, const std::vector< std::string > &args)
Definition blackbox-propagator.cpp:573
Gecode toplevel namespace
