openjij
Framework for the Ising model and QUBO.
Loading...
Searching...
No Matches
openjij::sampler Namespace Reference

Namespaces

namespace  base_sa_sample_hubo
 
namespace  csqa_sampler
 
namespace  response
 
namespace  sa_sampler
 
namespace  sampler
 
namespace  sqa_sampler
 

Classes

struct  IntegerSAResult
 
class  SASampler
 Class for executing simulated annealing. More...
 

Functions

template<class ModelType , class RandType , class StateUpdater >
IntegerSAResult BaseSA (const ModelType &model, const utility::TemperatureSchedule schedule, const std::int64_t num_sweeps, const typename RandType::result_type seed, const double min_T, const double max_T, const bool log_history)
 
template<class ModelType , class UpdaterType >
IntegerSAResult SolveByIntegerSAImpl (const ModelType &model, const std::int64_t num_sweeps, const algorithm::RandomNumberEngine rand_type, const utility::TemperatureSchedule schedule, const std::int64_t seed, const double min_T, const double max_T, const bool log_history)
 
template<class ModelType >
IntegerSAResult SolveByIntegerSA (const ModelType &model, const std::int64_t num_sweeps, const algorithm::UpdateMethod update_method, const algorithm::RandomNumberEngine rand_type, const utility::TemperatureSchedule schedule, const std::int64_t seed, const double min_T, const double max_T, const bool log_history)
 
template<class ModelType >
std::vector< IntegerSAResultSampleByIntegerSA (const ModelType &model, const std::int64_t num_sweeps, const algorithm::UpdateMethod update_method, const algorithm::RandomNumberEngine rand_type, const utility::TemperatureSchedule schedule, const std::int64_t num_reads, const std::int64_t seed, const std::int32_t num_threads, const double min_T, const double max_T, const bool log_history)
 
template<class ModelType >
auto make_sa_sampler (const ModelType &model)
 

Variables

 __path__ = extend_path(__path__, __name__)
 
list __all__
 

Function Documentation

◆ BaseSA()

template<class ModelType , class RandType , class StateUpdater >
IntegerSAResult openjij::sampler::BaseSA ( const ModelType &  model,
const utility::TemperatureSchedule  schedule,
const std::int64_t  num_sweeps,
const typename RandType::result_type  seed,
const double  min_T,
const double  max_T,
const bool  log_history 
)

◆ make_sa_sampler()

template<class ModelType >
auto openjij::sampler::make_sa_sampler ( const ModelType &  model)

References make_sa_sampler().

Referenced by make_sa_sampler().

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

◆ SampleByIntegerSA()

template<class ModelType >
std::vector< IntegerSAResult > openjij::sampler::SampleByIntegerSA ( const ModelType &  model,
const std::int64_t  num_sweeps,
const algorithm::UpdateMethod  update_method,
const algorithm::RandomNumberEngine  rand_type,
const utility::TemperatureSchedule  schedule,
const std::int64_t  num_reads,
const std::int64_t  seed,
const std::int32_t  num_threads,
const double  min_T,
const double  max_T,
const bool  log_history 
)

References SolveByIntegerSA().

Here is the call graph for this function:

◆ SolveByIntegerSA()

template<class ModelType >
IntegerSAResult openjij::sampler::SolveByIntegerSA ( const ModelType &  model,
const std::int64_t  num_sweeps,
const algorithm::UpdateMethod  update_method,
const algorithm::RandomNumberEngine  rand_type,
const utility::TemperatureSchedule  schedule,
const std::int64_t  seed,
const double  min_T,
const double  max_T,
const bool  log_history 
)

◆ SolveByIntegerSAImpl()

template<class ModelType , class UpdaterType >
IntegerSAResult openjij::sampler::SolveByIntegerSAImpl ( const ModelType &  model,
const std::int64_t  num_sweeps,
const algorithm::RandomNumberEngine  rand_type,
const utility::TemperatureSchedule  schedule,
const std::int64_t  seed,
const double  min_T,
const double  max_T,
const bool  log_history 
)

Variable Documentation

◆ __all__

list openjij.sampler.__all__
private
Initial value:
1= [
2 "CSQASampler",
3 "Response",
4 "SASampler",
5 "measure_time",
6 "SQASampler",
7]

◆ __path__

openjij.sampler.__path__ = extend_path(__path__, __name__)
private