Lines Matching refs:neighbor
172 for (IntSet::const_iterator neighbor = neighbors.begin(); in ComputeClusteringQualityDifference() local
173 neighbor != neighbors.end(); in ComputeClusteringQualityDifference()
174 ++neighbor) { in ComputeClusteringQualityDifference()
176 FindWithDefault(view_to_canonical_view_similarity_, *neighbor, 0.0); in ComputeClusteringQualityDifference()
177 const double new_similarity = graph_->EdgeWeight(*neighbor, candidate); in ComputeClusteringQualityDifference()
199 for (IntSet::const_iterator neighbor = neighbors.begin(); in UpdateCanonicalViewAssignments() local
200 neighbor != neighbors.end(); in UpdateCanonicalViewAssignments()
201 ++neighbor) { in UpdateCanonicalViewAssignments()
203 FindWithDefault(view_to_canonical_view_similarity_, *neighbor, 0.0); in UpdateCanonicalViewAssignments()
205 graph_->EdgeWeight(*neighbor, canonical_view); in UpdateCanonicalViewAssignments()
207 view_to_canonical_view_[*neighbor] = canonical_view; in UpdateCanonicalViewAssignments()
208 view_to_canonical_view_similarity_[*neighbor] = new_similarity; in UpdateCanonicalViewAssignments()