-
Notifications
You must be signed in to change notification settings - Fork 2
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
How do you filter to only return solvable == x #222
Comments
As per #201:
At present there isn't a way to query unsolved nodes. |
Ok, I missed the reasoning behind it. What about a compromise.
eg. function _isSolvable(dfg::LightDFG, label::Symbol, ready::Array{Int})::Bool
haskey(dfg.g.variables, label) && (return dfg.g.variables[label].solvable in ready)
haskey(dfg.g.factors, label) && (return dfg.g.factors[label].solvable in ready)
... |
Thinking about this - if filtering solvable==0 is needed, I'd suggest we don't use the lower limit then. Rather we switch it to an equality check than introduce the array? |
I came across another case here #331. Maybe |
Think we resolved this in a previous discussion? The main idea is/was that there are levels of solvable. The way I find |
We need a way to search for multiple values of solvable at once, and rather than doing a ton of The easiest way then is to use |
I propose we allow users to choose with a |
No description provided.
The text was updated successfully, but these errors were encountered: