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

#include <qbpp.hpp>

Public Member Functions

 Inf ()=default
 
bool is_positive () const
 
bool is_negative () const
 
Inf operator+ () const
 
Inf operator- () const
 

Private Attributes

bool positive_ = true
 

Detailed Description

Definition at line 268 of file qbpp.hpp.

Constructor & Destructor Documentation

◆ Inf()

qbpp::Inf::Inf ( )
default

Member Function Documentation

◆ is_positive()

bool qbpp::Inf::is_positive ( ) const
inline

Definition at line 274 of file qbpp.hpp.

◆ is_negative()

bool qbpp::Inf::is_negative ( ) const
inline

Definition at line 276 of file qbpp.hpp.

Here is the caller graph for this function:

◆ operator+()

Inf qbpp::Inf::operator+ ( ) const
inline

Definition at line 278 of file qbpp.hpp.

◆ operator-()

Inf qbpp::Inf::operator- ( ) const
inline

Definition at line 280 of file qbpp.hpp.

Member Data Documentation

◆ positive_

bool qbpp::Inf::positive_ = true
private

Definition at line 269 of file qbpp.hpp.


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