Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::BranchAndBoundObjectivePolicy Concept Reference

Concept for objective policies used by branch and bound. More...

#include <Branch_And_Bound.H>

Concept definition

template<typename Policy, typename Value>
concept Aleph::BranchAndBoundObjectivePolicy = requires(const Policy &policy, const Value &a, const Value &b) {
{ policy.better(a, b) } -> std::convertible_to<bool>;
{ policy.can_improve(a, b) } -> std::convertible_to<bool>;
{ policy.more_promising(a, b) } -> std::convertible_to<bool>;
}
Concept for objective policies used by branch and bound.
@ Value
Regular runtime payload stored as Interpreter_Value.

Detailed Description

Concept for objective policies used by branch and bound.

Definition at line 115 of file Branch_And_Bound.H.