Home | History | Annotate | Download | only in ceres

Lines Matching full:forest

111   scoped_ptr<Graph<int> > forest(Degree2MaximumSpanningForest(graph));
113 const HashSet<int>& vertices = forest->vertices();
115 EXPECT_EQ(forest->VertexWeight(0), 1.0);
116 EXPECT_EQ(forest->VertexWeight(1), 2.0);
117 EXPECT_EQ(forest->Neighbors(0).size(), 1.0);
118 EXPECT_EQ(forest->EdgeWeight(0, 1), 0.5);
134 scoped_ptr<Graph<int> > forest(Degree2MaximumSpanningForest(graph));
135 const HashSet<int>& vertices = forest->vertices();
139 const HashSet<int>& neighbors = forest->Neighbors(0);
146 const HashSet<int>& neighbors = forest->Neighbors(3);
152 const HashSet<int>& neighbors = forest->Neighbors(4);
158 const HashSet<int>& neighbors = forest->Neighbors(1);
163 const HashSet<int>& neighbors = forest->Neighbors(2);