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::easy_solver::Tabu Class Reference

#include <qbpp_easy_solver.hpp>

Collaboration diagram for qbpp::easy_solver::Tabu:
Collaboration graph
[legend]

Public Member Functions

vindex_t tabu_size () const
 
 Tabu (vindex_t size, vindex_t tabu_size)
 
bool has (vindex_t index) const
 
void insert (vindex_t index)
 
vindex_t non_tabu_random ()
 
void print ()
 

Private Attributes

impl::BitVector variables_
 
boost::circular_buffer< vindex_ttabu_list
 

Detailed Description

Definition at line 176 of file qbpp_easy_solver.hpp.

Constructor & Destructor Documentation

◆ Tabu()

qbpp::easy_solver::Tabu::Tabu ( vindex_t  size,
vindex_t  tabu_size 
)
inline

Definition at line 184 of file qbpp_easy_solver.hpp.

Member Function Documentation

◆ tabu_size()

vindex_t qbpp::easy_solver::Tabu::tabu_size ( ) const
inline

Definition at line 182 of file qbpp_easy_solver.hpp.

◆ has()

bool qbpp::easy_solver::Tabu::has ( vindex_t  index) const
inline

Definition at line 187 of file qbpp_easy_solver.hpp.

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

◆ insert()

void qbpp::easy_solver::Tabu::insert ( vindex_t  index)
inline

Definition at line 189 of file qbpp_easy_solver.hpp.

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

◆ non_tabu_random()

vindex_t qbpp::easy_solver::Tabu::non_tabu_random ( )
inline

Definition at line 201 of file qbpp_easy_solver.hpp.

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

◆ print()

void qbpp::easy_solver::Tabu::print ( )
inline

Definition at line 209 of file qbpp_easy_solver.hpp.

Member Data Documentation

◆ variables_

impl::BitVector qbpp::easy_solver::Tabu::variables_
private

Definition at line 177 of file qbpp_easy_solver.hpp.

◆ tabu_list

boost::circular_buffer<vindex_t> qbpp::easy_solver::Tabu::tabu_list
private

Definition at line 179 of file qbpp_easy_solver.hpp.


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