Improved ClusterGraph implementation and MaxSpanningTreePrims implementation.
[libdai.git] / include / dai / factorgraph.h
index adb6722..77f5f8a 100644 (file)
@@ -44,6 +44,7 @@ class FactorGraph {
         std::vector<Factor>    factors;
         typedef BipartiteGraph::Neighbor  Neighbor;
         typedef BipartiteGraph::Neighbors Neighbors;
+        typedef BipartiteGraph::Edge      Edge;
 
     protected:
         std::map<size_t,Prob>  _undoProbs;