Lines Matching refs:ordering
97 vector<Vertex>* ordering) { in IndependentSetOrdering() argument
101 CHECK_NOTNULL(ordering); in IndependentSetOrdering()
102 ordering->clear(); in IndependentSetOrdering()
103 ordering->reserve(num_vertices); in IndependentSetOrdering()
132 ordering->push_back(vertex); in IndependentSetOrdering()
142 int independent_set_size = ordering->size(); in IndependentSetOrdering()
153 ordering->push_back(vertex); in IndependentSetOrdering()
157 CHECK_EQ(ordering->size(), num_vertices); in IndependentSetOrdering()
173 vector<Vertex>* ordering) { in StableIndependentSetOrdering() argument
174 CHECK_NOTNULL(ordering); in StableIndependentSetOrdering()
177 CHECK_EQ(vertices.size(), ordering->size()); in StableIndependentSetOrdering()
184 vector<Vertex> vertex_queue(*ordering); in StableIndependentSetOrdering()
197 ordering->clear(); in StableIndependentSetOrdering()
198 ordering->reserve(num_vertices); in StableIndependentSetOrdering()
207 ordering->push_back(vertex); in StableIndependentSetOrdering()
217 int independent_set_size = ordering->size(); in StableIndependentSetOrdering()
228 ordering->push_back(vertex); in StableIndependentSetOrdering()
232 CHECK_EQ(ordering->size(), num_vertices); in StableIndependentSetOrdering()