QUBO++ Library with QUBO Solver APIs
Author: Koji Nakano, License: Non-commercial research and evaluation purposes without any guarantees.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
qbpp::Var Class Reference

#include <qbpp.hpp>

Public Member Functions

 Var (const Var &var)=default
 
Varoperator= (const Var &var)=default
 
 Var (vindex_t index)
 
vindex_t get_index () const
 
bool operator== (Var var) const
 
bool operator!= (Var var) const
 
bool operator< (Var var) const
 
bool operator> (Var var) const
 
bool operator<= (Var var) const
 
size_t size () const
 

Private Member Functions

 Var ()=delete
 

Private Attributes

vindex_t index_
 

Detailed Description

Definition at line 518 of file qbpp.hpp.

Constructor & Destructor Documentation

◆ Var() [1/3]

qbpp::Var::Var ( )
privatedelete

◆ Var() [2/3]

qbpp::Var::Var ( const Var var)
default

◆ Var() [3/3]

qbpp::Var::Var ( vindex_t  index)
inlineexplicit

Definition at line 528 of file qbpp.hpp.

Member Function Documentation

◆ operator=()

Var& qbpp::Var::operator= ( const Var var)
default

◆ get_index()

vindex_t qbpp::Var::get_index ( ) const
inline

Definition at line 529 of file qbpp.hpp.

Here is the caller graph for this function:

◆ operator==()

bool qbpp::Var::operator== ( Var  var) const
inline

Definition at line 531 of file qbpp.hpp.

Here is the call graph for this function:

◆ operator!=()

bool qbpp::Var::operator!= ( Var  var) const
inline

Definition at line 533 of file qbpp.hpp.

Here is the call graph for this function:

◆ operator<()

bool qbpp::Var::operator< ( Var  var) const
inline

Definition at line 534 of file qbpp.hpp.

Here is the call graph for this function:

◆ operator>()

bool qbpp::Var::operator> ( Var  var) const
inline

Definition at line 536 of file qbpp.hpp.

Here is the call graph for this function:

◆ operator<=()

bool qbpp::Var::operator<= ( Var  var) const
inline

Definition at line 538 of file qbpp.hpp.

Here is the call graph for this function:

◆ size()

size_t qbpp::Var::size ( ) const
inline

Definition at line 540 of file qbpp.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ index_

vindex_t qbpp::Var::index_
private

Definition at line 519 of file qbpp.hpp.


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