LLVM API Documentation
#include <Solution.h>
Public Member Functions | |
| Solution () | |
| Solution (unsigned length, bool assumeOptimal) | |
| void | setProvedOptimal (bool provedOptimal) |
| void | setSelection (unsigned nodeID, unsigned selection) |
| void | setSolutionCost (PBQPNum solutionCost) |
| void | incR0Reductions () |
| void | incR1Reductions () |
| void | incR2Reductions () |
| void | incRNReductions () |
| unsigned | numNodes () const |
| unsigned | getSelection (unsigned nodeID) const |
| PBQPNum | getCost () const |
| bool | isProvedOptimal () const |
| unsigned | getR0Reductions () const |
| unsigned | getR1Reductions () const |
| unsigned | getR2Reductions () const |
| unsigned | getRNReductions () const |
| bool | operator== (const Solution &other) const |
| bool | operator!= (const Solution &other) const |
Friends | |
| class | SolverImplementation |
Definition at line 22 of file Solution.h.
| PBQP::Solution::Solution | ( | ) | [inline] |
Definition at line 36 of file Solution.h.
Definition at line 40 of file Solution.h.
| void PBQP::Solution::setProvedOptimal | ( | bool | provedOptimal | ) | [inline] |
Definition at line 44 of file Solution.h.
Definition at line 48 of file Solution.h.
Referenced by PBQP::HeuristicSolverImpl< Heuristic >::setSolution(), and PBQP::ExhaustiveSolverImpl::solve().
| void PBQP::Solution::setSolutionCost | ( | PBQPNum | solutionCost | ) | [inline] |
Definition at line 52 of file Solution.h.
| void PBQP::Solution::incR0Reductions | ( | ) | [inline] |
Definition at line 56 of file Solution.h.
| void PBQP::Solution::incR1Reductions | ( | ) | [inline] |
Definition at line 57 of file Solution.h.
| void PBQP::Solution::incR2Reductions | ( | ) | [inline] |
Definition at line 58 of file Solution.h.
| void PBQP::Solution::incRNReductions | ( | ) | [inline] |
Definition at line 59 of file Solution.h.
| unsigned PBQP::Solution::numNodes | ( | ) | const [inline] |
Definition at line 61 of file Solution.h.
| PBQPNum PBQP::Solution::getCost | ( | ) | const [inline] |
Definition at line 67 of file Solution.h.
| bool PBQP::Solution::isProvedOptimal | ( | ) | const [inline] |
Definition at line 69 of file Solution.h.
| unsigned PBQP::Solution::getR0Reductions | ( | ) | const [inline] |
Definition at line 71 of file Solution.h.
| unsigned PBQP::Solution::getR1Reductions | ( | ) | const [inline] |
Definition at line 72 of file Solution.h.
| unsigned PBQP::Solution::getR2Reductions | ( | ) | const [inline] |
Definition at line 73 of file Solution.h.
| unsigned PBQP::Solution::getRNReductions | ( | ) | const [inline] |
Definition at line 74 of file Solution.h.
Definition at line 80 of file Solution.h.
friend class SolverImplementation [friend] |
Definition at line 24 of file Solution.h.