|
cimod
C++ library for a binary (and polynomial) quadratic model.
|
#include <algorithm>#include <cassert>#include <cstdint>#include <functional>#include <iostream>#include <limits>#include <set>#include <string>#include <tuple>#include <type_traits>#include <typeinfo>#include <unordered_map>#include <unordered_set>#include <utility>#include <vector>#include <Eigen/Dense>#include <Eigen/Sparse>#include "cimod/disable_eigen_warning.hpp"#include "cimod/hash.hpp"#include "cimod/json.hpp"#include "cimod/utilities.hpp"#include "cimod/vartypes.hpp"

Go to the source code of this file.
Classes | |
| struct | cimod::Dense |
| struct | cimod::Sparse |
| class | cimod::BinaryQuadraticModel< IndexType, FloatType, DataType > |
| Class for dense binary quadratic model. More... | |
Namespaces | |
| namespace | cimod |
Typedefs | |
| template<typename IndexType , typename FloatType > | |
| using | cimod::Linear = std::unordered_map< IndexType, FloatType > |
| Type alias for linear bias. | |
| template<typename IndexType , typename FloatType > | |
| using | cimod::Quadratic = std::unordered_map< std::pair< IndexType, IndexType >, FloatType, pair_hash > |
| Type alias for quadratic bias. | |
| template<typename IndexType , typename FloatType > | |
| using | cimod::Adjacency = std::unordered_map< IndexType, std::unordered_map< IndexType, FloatType > > |
| Type alias for adjacency list. | |