A complete assignment of options to nodes. More...
#include <pbqp/solver.h>
Public Member Functions | |
| bool | feasible () const |
Public Attributes | |
| Choices | choices |
| choices[n] is the option chosen for node n. | |
| Cost | cost = 0 |
| Total cost of the assignment under the original graph. | |
| fe::Bitset | conflicts |
| Nodes whose choice hits a Cost::inf entry, see conflicts; empty iff feasible. | |
| Statistics | statistics |
|
inlinenodiscard |
| Choices pbqp::Solution::choices |
| fe::Bitset pbqp::Solution::conflicts |
| Cost pbqp::Solution::cost = 0 |
Total cost of the assignment under the original graph.
Definition at line 31 of file solver.h.
Referenced by feasible(), and pbqp::solve_exhaustive().
| Statistics pbqp::Solution::statistics |