AntonisZks / Information-Systems-Software-Development-Project

A university project implementing Vamana-Indexing-Algorithm (VIA) for Approximate-Nearest-Neighbors (ANN) problem.
2 stars 0 forks source link

Optimization to the /src/graph_functions.cpp #22

Closed AntonisZks closed 1 week ago

AntonisZks commented 1 week ago

I believe that /src/graph_functions.cpp needs some optimization. Specifically we can clean up the file a bit from comments and some useless code. The GreedySearch algorothm needs a little imprevement by adding comments on the code, and make it compatible with the Graph data structure we already have. Also the function needs to have a better syntax since many STL structures are being used, in order to make it work correclty. So I suggest:

@EvitaChasioti can you take care of that?

StavrosJKw commented 1 week ago

Deleted unimportant comments and used namespace std to make code more readable in GreedySearch()

AntonisZks commented 1 week ago

I organized my version of the Greedy Search and did the above. You can see the changes in my branch.