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

#include <qbpp.hpp>

Static Public Member Functions

static VarSetget_instance ()
 
static vindex_t all_var_count ()
 
static Var var (const std::string &var_str)
 
static std::string new_unnamed_var_str ()
 
static std::string str (Var var)
 

Private Member Functions

 VarSet ()
 
 VarSet (const impl::VarSet &)=delete
 
VarSetoperator= (const impl::VarSet &)=delete
 

Private Attributes

std::vector< std::string > var_str_
 
vindex_t unnamed_vars {0}
 

Detailed Description

Definition at line 546 of file qbpp.hpp.

Constructor & Destructor Documentation

◆ VarSet() [1/2]

qbpp::impl::VarSet::VarSet ( )
inlineprivate

Definition at line 551 of file qbpp.hpp.

◆ VarSet() [2/2]

qbpp::impl::VarSet::VarSet ( const impl::VarSet )
privatedelete

Member Function Documentation

◆ operator=()

VarSet& qbpp::impl::VarSet::operator= ( const impl::VarSet )
privatedelete

◆ get_instance()

static VarSet& qbpp::impl::VarSet::get_instance ( )
inlinestatic

Definition at line 558 of file qbpp.hpp.

Here is the caller graph for this function:

◆ all_var_count()

static vindex_t qbpp::impl::VarSet::all_var_count ( )
inlinestatic

Definition at line 565 of file qbpp.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ var()

static Var qbpp::impl::VarSet::var ( const std::string &  var_str)
inlinestatic

Definition at line 569 of file qbpp.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ new_unnamed_var_str()

static std::string qbpp::impl::VarSet::new_unnamed_var_str ( )
inlinestatic

Definition at line 577 of file qbpp.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ str()

static std::string qbpp::impl::VarSet::str ( Var  var)
inlinestatic

Definition at line 583 of file qbpp.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ var_str_

std::vector<std::string> qbpp::impl::VarSet::var_str_
private

Definition at line 547 of file qbpp.hpp.

◆ unnamed_vars

vindex_t qbpp::impl::VarSet::unnamed_vars {0}
private

Definition at line 549 of file qbpp.hpp.


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