cimod
C++ library for a binary (and polynomial) quadratic model.
cimod::BinaryPolynomialModel< IndexType, FloatType > Member List

This is the complete list of members for cimod::BinaryPolynomialModel< IndexType, FloatType >, including all inherited members.

AddInteraction(std::vector< IndexType > &key, const FloatType &value, const Vartype vartype=Vartype::NONE)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
AddInteraction(const std::vector< IndexType > &key, const FloatType &value, const Vartype vartype=Vartype::NONE)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
AddInteractionsFrom(const Polynomial< IndexType, FloatType > &poly_map, const Vartype vartype=Vartype::NONE)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
AddInteractionsFrom(PolynomialKeyList< IndexType > &key_list, const PolynomialValueList< FloatType > &value_list, const Vartype vartype=Vartype::NONE)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
AddInteractionsFrom(const PolynomialKeyList< IndexType > &key_list, const PolynomialValueList< FloatType > &value_list, const Vartype vartype=Vartype::NONE)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
AddOffset(FloatType offset)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
BinaryPolynomialModel(const Polynomial< IndexType, FloatType > &poly_map, const Vartype vartype)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
BinaryPolynomialModel(PolynomialKeyList< IndexType > &key_list, const PolynomialValueList< FloatType > &value_list, const Vartype vartype)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
BinaryPolynomialModel(const PolynomialKeyList< IndexType > &key_list, const PolynomialValueList< FloatType > &value_list, const Vartype vartype)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
BinaryPolynomialModel(const std::vector< IndexType > &variables, const PolynomialKeyList< std::size_t > &poly_key_distance_list, const PolynomialValueList< FloatType > &poly_value_list, const Vartype vartype)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
ChangeVartype(const Vartype vartype, const bool inplace)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
ChangeVartype(const Vartype vartype)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
Clear()cimod::BinaryPolynomialModel< IndexType, FloatType >inline
each_variable_num_cimod::BinaryPolynomialModel< IndexType, FloatType >protected
Empty(const Vartype vartype) constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
Energies(const std::vector< Sample< IndexType >> &samples) constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
Energies(const std::vector< std::vector< int32_t >> &samples_vec)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
Energy(const Sample< IndexType > &sample, bool omp_flag=true) constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
Energy(const std::vector< int32_t > &sample_vec, bool omp_flag=true)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
FromHising(const Polynomial< IndexType, FloatType > &poly_map)cimod::BinaryPolynomialModel< IndexType, FloatType >inlinestatic
FromHising(const PolynomialKeyList< IndexType > &key_list, const PolynomialValueList< FloatType > &value_list)cimod::BinaryPolynomialModel< IndexType, FloatType >inlinestatic
FromHising(PolynomialKeyList< IndexType > &key_list, const PolynomialValueList< FloatType > &value_list)cimod::BinaryPolynomialModel< IndexType, FloatType >inlinestatic
FromHubo(const Polynomial< IndexType, FloatType > &poly_map)cimod::BinaryPolynomialModel< IndexType, FloatType >inlinestatic
FromHubo(const PolynomialKeyList< IndexType > &key_list, const PolynomialValueList< FloatType > &value_list)cimod::BinaryPolynomialModel< IndexType, FloatType >inlinestatic
FromHubo(PolynomialKeyList< IndexType > &key_list, const PolynomialValueList< FloatType > &value_list)cimod::BinaryPolynomialModel< IndexType, FloatType >inlinestatic
FromSerializable(const nlohmann::json &input)cimod::BinaryPolynomialModel< IndexType, FloatType >inlinestatic
GenerateChangedKey(const std::vector< IndexType > &original_key, const std::size_t num_of_key) constcimod::BinaryPolynomialModel< IndexType, FloatType >inlineprotected
GenerateSortedVariables() constcimod::BinaryPolynomialModel< IndexType, FloatType >inlineprotected
GenerateVariablesToIntegers() constcimod::BinaryPolynomialModel< IndexType, FloatType >inlineprotected
GetDegree() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetKeyList() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetKeysInv() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetNumInteractions() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetNumVariables() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetOffset() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetPolynomial() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetPolynomial(std::vector< IndexType > &key) constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetPolynomial(const std::vector< IndexType > &key) constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetSortedVariables()cimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetSortedVariables() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetValueList() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetVariables() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetVariablesToIntegers()cimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetVariablesToIntegers() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetVariablesToIntegers(const IndexType &index)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetVariablesToIntegers(const IndexType &index) constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
GetVartype() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
HasVariable(const IndexType &index)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
IntegerPower(std::size_t base, std::size_t exponent) constcimod::BinaryPolynomialModel< IndexType, FloatType >inlineprotected
normalize(const std::pair< FloatType, FloatType > &range={ 1.0, 1.0 }, const PolynomialKeyList< IndexType > &ignored_interactions={}, const bool ignored_offset=false)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
poly_key_inv_cimod::BinaryPolynomialModel< IndexType, FloatType >protected
poly_key_list_cimod::BinaryPolynomialModel< IndexType, FloatType >protected
poly_value_list_cimod::BinaryPolynomialModel< IndexType, FloatType >protected
relabel_flag_for_variables_to_integers_cimod::BinaryPolynomialModel< IndexType, FloatType >protected
RemoveInteraction(std::vector< IndexType > &key)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
RemoveInteraction(const std::vector< IndexType > &key)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
RemoveInteractionsFrom(PolynomialKeyList< IndexType > &key_list)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
RemoveInteractionsFrom(const PolynomialKeyList< IndexType > &key_list)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
RemoveOffset()cimod::BinaryPolynomialModel< IndexType, FloatType >inline
RemoveVariable(const IndexType &index)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
RemoveVariablesFrom(const std::vector< IndexType > &key)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
Scale(const FloatType scalar, const PolynomialKeyList< IndexType > &ignored_interactions={}, const bool ignored_offset=false)cimod::BinaryPolynomialModel< IndexType, FloatType >inline
SetKeyAndValue(const std::vector< IndexType > &key, const FloatType &value)cimod::BinaryPolynomialModel< IndexType, FloatType >inlineprotected
sorted_variables_cimod::BinaryPolynomialModel< IndexType, FloatType >protected
ToBinary() constcimod::BinaryPolynomialModel< IndexType, FloatType >inlineprotected
ToHising() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
ToHubo() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
ToSerializable() constcimod::BinaryPolynomialModel< IndexType, FloatType >inline
ToSpin() constcimod::BinaryPolynomialModel< IndexType, FloatType >inlineprotected
UpdateVariablesToIntegers()cimod::BinaryPolynomialModel< IndexType, FloatType >inlineprotected
variables_cimod::BinaryPolynomialModel< IndexType, FloatType >protected
variables_to_integers_cimod::BinaryPolynomialModel< IndexType, FloatType >protected
vartype_cimod::BinaryPolynomialModel< IndexType, FloatType >protected