Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treedec::comb::PP_FI fails on adjacency_list<vecS> #38

Open
tunyash opened this issue Jun 13, 2021 · 4 comments
Open

treedec::comb::PP_FI fails on adjacency_list<vecS> #38

tunyash opened this issue Jun 13, 2021 · 4 comments

Comments

@tunyash
Copy link

tunyash commented Jun 13, 2021

We'd tried to run the algorithm on a simple 4 by 4 grid (the call to the algorithm) (graph generation) and got the following runtime error:

/home/tunyash/treewidth/disj_paths_bd_tw/src/../tdlib/src/impl/greedy_heuristic.hpp:558: void treedec::obsolete::fillIn<G_t, CFGT_t>::fill_update_cb::operator()(treedec::obsolete::fillIn<G_t, CFGT_t>::fill_update_cb::vertex_descriptor, treedec::obsolete::fillIn<G_t, CFGT_t>::fill_update_cb::vertex_descriptor) [with G_t = boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS>; CFGT_t = treedec::algo::default_config; treedec::obsolete::fillIn<G_t, CFGT_t>::fill_update_cb::vertex_descriptor = long unsigned int]: Assertions < t' failed.`

I am not quite sure what to make of it or how to fix it. Will be thankful for any assistance.

@felix-salfelder
Copy link
Member

felix-salfelder commented Jun 13, 2021 via email

@tunyash
Copy link
Author

tunyash commented Jun 13, 2021

Hi Felix, thanks a lot for the answer!

Here is another assertion that shows up if I remove the first one:
tdlib/src/fill.hpp:838: std::pair<typename boost::graph_traits<Graph>::vertex_descriptor, typename boost::graph_traits<Graph>::vertices_size_type> treedec::obsolete::FILL<G_t, CFG>::pick_min(unsigned int, unsigned int, bool) [with G_t = boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS>; CFG = treedec::detail::fill_config<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS> >; typename boost::graph_traits<Graph>::vertices_size_type = long unsigned int; typename boost::graph_traits<Graph>::vertex_descriptor = long unsigned int]: Assertion treedec::count_missing_edges(p.first,_g) == p.second' failed.`

Here is the self-contained example.

I am not quite sure what you mean by ordering, can you elaborate?

@felix-salfelder
Copy link
Member

felix-salfelder commented Jun 14, 2021 via email

@llarisch
Copy link
Member

You might want to have a look into the separator algorithm and the network flow problem alongside - disjoint paths etc

@felix-salfelder felix-salfelder changed the title Having trouble running treedec::comb::PP_FI on 4 by 4 grid graph. treedec::comb::PP_FI fails on adjacency_list<vecS> Jul 8, 2021
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

No branches or pull requests

3 participants