Skip to content
Snippets Groups Projects
Commit acb41890 authored by Florian Heinrichs's avatar Florian Heinrichs
Browse files

Function added to associate graph with the solver

parent 4a8bdc2f
Branches
No related merge requests found
......@@ -64,6 +64,10 @@ void solver::resize_nodes(size_t count) {
assignment_.resize_nodes(count);
}
void solver::define_graph(graph& g){
nodes_ = g;
}
void solver::solve() {
//anfangs upper bound?
best_objective_ = nodes_.num_vertices();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment