Ask questionsGetting solution total cost

Not sure if an issue is the right place, since this is more of a question/suggestion. But I was trying to figure out the final cost of the solution. Currently, we can get the edge matches for the solution, and it's pretty straightforward to simply write a script that will calculate the total cost after calling get_all_matches, but I figured this information should be available in the structure PerfectMatchingCtx.ptr and should be able to be retrieved with a ccall, I just have no idea how to do that.

Is there a way to see the contents of what the object PerfectMatchingCtx.ptr is pointing to contains?


Answer questions Bebotron

Ok yea, iterating over the solution is easier. Thanks!


Related questions

No questions were found.
Github User Rank List