LLVM: llvm::PBQP::Solution Class Reference (original) (raw)

Represents a solution to a PBQP problem. More...

#include "[llvm/CodeGen/PBQP/Solution.h](Solution%5F8h%5Fsource.html)"

Public Member Functions
Solution ()=default
Initialise an empty solution.
void setSelection (GraphBase::NodeId nodeId, unsigned selection)
Set the selection for a given node.
unsigned getSelection (GraphBase::NodeId nodeId) const
Get a node's selection.

Represents a solution to a PBQP problem.

To get the selection for each node in the problem use the getSelection method.

Definition at line 26 of file Solution.h.

llvm::PBQP::Solution::Solution ( ) default

Initialise an empty solution.

getSelection()

setSelection()


The documentation for this class was generated from the following file: