|
libDAI
|
Provides functionality for input/output of data structures in various file formats. More...
Go to the source code of this file.
Namespaces | |
| namespace | dai |
Namespace for libDAI. | |
Functions | |
| dai::DAI_ENUM (FactorType, ISINGGAUSS, ISINGUNIFORM, EXPGAUSS, POTTS) | |
| Possible factor types. | |
| FactorGraph | dai::createFG (const GraphAL &G, FactorType ft, size_t states, const PropertySet &props) |
| Creates a factor graph from a pairwise interactions graph. | |
| FactorGraph | dai::createHOIFG (size_t N, size_t M, size_t k, Real beta) |
| Return a random factor graph with higher-order interactions. | |
| BipartiteGraph | dai::createRandomBipartiteGraph (size_t N1, size_t N2, size_t d1, size_t d2) |
| Creates a regular random bipartite graph. | |
| int | dai::powmod (int x, int n, int p) |
| Returns x**n % p, assuming p is prime. | |
| size_t | dai::order (int x, int p) |
| Returns order of x in GF(p) with p prime. | |
| bool | dai::isPrime (size_t n) |
| Returns whether n is a prime number. | |
| BipartiteGraph | dai::createSmallLDPCGraph () |
| Constructs a regular LDPC graph with N=6, j=2, K=4, k=3. | |
| BipartiteGraph | dai::createGroupStructuredLDPCGraph (size_t p, size_t j, size_t k) |
| Creates group-structured LDPC code. | |
| void | dai::createParityCheck (Real *result, size_t n, Real eps) |
Provides functionality for input/output of data structures in various file formats.
1.7.4