|
Darwin
1.10(beta)
|
Utility functions for factor graphs. More...
Functions | |
| void | writeDottyOutput (const char *filename, const drwnFactorGraph &graph) |
| Generate output for dotty (Graphviz) | |
| vector< set< int > > | variableAdjacencyList (const drwnFactorGraph &graph) |
| Returns the neighbours (i.e., other variables appearing in the same clique) of each variable. | |
| drwnFactorGraph | createJunctionTree (const drwnFactorGraph &graph) |
| Create a junction tree from a factor graph. | |
| double | removeUniformFactors (drwnFactorGraph &graph) |
| Removes uniform factors from the graph (returns energy of factors removed) More... | |
| void | absorbSmallFactors (drwnFactorGraph &graph, bool bIncludeUnary=true) |
Absorbs smaller (log-space) factors into larger ones (operates inline). The returned graph is disconnected. If bIncludeUnary is false then unary potentials are left untouched. | |
| void | mergeDuplicateFactors (drwnFactorGraph &graph) |
| Merges (log-space) factors over identical cliques. Operates inline. | |
Utility functions for factor graphs.
| double drwnFactorGraphUtils::removeUniformFactors | ( | drwnFactorGraph & | graph | ) |
Removes uniform factors from the graph (returns energy of factors removed)
1.8.13