Skip to content

Commit 7f5347c

Browse files
committed
Syntax Fix
1 parent caf0418 commit 7f5347c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

include/Algorithms/GreedySearch.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,12 @@ struct EuclideanDistanceOrder {
115115
*
116116
* @return Pair of sets: the first set contains the k nearest nodes, and the second set contains all visited nodes
117117
*/
118+
119+
/*
120+
*/
118121
template <typename graph_t>
119122
std::pair<std::set<graph_t>, std::set<graph_t>>
120-
FilterGreedySearch(const Graph<graph_t>& G, const GraphNode<graph_t>& s, const graph_t& xq, unsigned int k, unsigned int L) {
123+
GreedySearch(const Graph<graph_t>& G, const GraphNode<graph_t>& s, const graph_t& xq, unsigned int k, unsigned int L) {
121124

122125
std::set<graph_t> candidates = {s.getData()};
123126
std::set<graph_t> visited = {};
@@ -188,4 +191,4 @@ FilterGreedySearch(const Graph<graph_t>& G, const GraphNode<graph_t>& s, const g
188191

189192
}
190193

191-
#endif /* GREEDY_SEARCH_H */
194+
#endif // GREEDY_SEARCH_H

0 commit comments

Comments
 (0)