Skip to content

Conversation

ankur-rc
Copy link

@ankur-rc ankur-rc commented Feb 5, 2023

Currently, Lago was using algorithms from the Boost Graph Library (BGL), most notably to compute the Minimum Spanning Tree.

This PR attempts to remove the dependency of BGL from Lago by making the following changes:

  • Factors out the kruskal routine from SubGraphBuilder into a free function
  • Creates a function findminimumSpanningTree in Lago which uses kruskal
  • Removes all references of BGL within Lago by not including the graph.h header

@dellaert dellaert self-requested a review February 5, 2023 05:08
Copy link
Member

@dellaert dellaert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool ! Will add @lucacarlone as a reviewer so can weigh in with comments, but almost ready to merge after addressing mostly "nits" :-)

@dellaert dellaert requested a review from lucacarlone February 5, 2023 05:23
@ankur-rc ankur-rc requested review from dellaert and removed request for lucacarlone February 5, 2023 18:49
@dellaert
Copy link
Member

dellaert commented Feb 5, 2023

will kill all but required CI to unblock my CI experiments in other branch, then will merge

@dellaert dellaert merged commit e8bce8d into borglab:develop Feb 5, 2023
@dellaert
Copy link
Member

dellaert commented Feb 5, 2023

Congrats @ankur-rc on your first gtsam PR :-)

@dellaert dellaert added this to the Remove BOOST milestone Feb 6, 2023
@ankur-rc ankur-rc deleted the no_boost_lago branch February 17, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants