LLVM API Documentation
#include <PBQP.h>
Public Member Functions | |
| PBQPVector (unsigned length) | |
| Construct a PBQP vector of the given size. | |
| PBQPVector (const PBQPVector &v) | |
| Copy construct a PBQP vector. | |
| ~PBQPVector () | |
| PBQPVector & | operator= (const PBQPVector &v) |
| Assignment operator. | |
| unsigned | getLength () const throw () |
| Return the length of the vector. | |
| PBQPNum & | operator[] (unsigned index) |
| Element access. | |
| const PBQPNum & | operator[] (unsigned index) const |
| Const element access. | |
| PBQPVector & | operator+= (const PBQPVector &v) |
| Add another vector to this one. | |
| PBQPVector & | operator-= (const PBQPVector &v) |
| Subtract another vector from this one. | |
| unsigned | minIndex () const |
| Returns the index of the minimum value in this vector. | |
Definition at line 33 of file PBQP.h.
| llvm::PBQPVector::PBQPVector | ( | unsigned | length | ) | [inline, explicit] |
| llvm::PBQPVector::PBQPVector | ( | const PBQPVector & | v | ) | [inline] |
| PBQPVector& llvm::PBQPVector::operator= | ( | const PBQPVector & | v | ) | [inline] |
| unsigned llvm::PBQPVector::getLength | ( | ) | const throw () [inline] |
Return the length of the vector.
Definition at line 60 of file PBQP.h.
Referenced by llvm::check_pbqp(), llvm::compute_tc_info(), llvm::determine_solution(), llvm::disconnect_trivialnode(), llvm::eliminate_trivial_nodes(), llvm::is_colorable(), and llvm::normalize_matrix().
| PBQPVector& llvm::PBQPVector::operator+= | ( | const PBQPVector & | v | ) | [inline] |
| PBQPVector& llvm::PBQPVector::operator-= | ( | const PBQPVector & | v | ) | [inline] |
| unsigned llvm::PBQPVector::minIndex | ( | ) | const [inline] |
Returns the index of the minimum value in this vector.
Definition at line 91 of file PBQP.h.
Referenced by llvm::determine_solution(), and llvm::determine_trivialsolution().