-
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 to do DFGFactor with incomplete subset DFGVariables #510
Comments
I'm curious, why the change of heart? What is the use case for it? Also, remember orphaned factors are not supported in an FG at all. If we implement this here is the list of related issues to help: |
buildSubgraph
option allFactors=true
It's about capability and what is needed as things develop. We don't need orphaned factors to work, but I think there are fringe cases where it might useful to be able to have an incomplete graph. E.g. visualization is an obvious one -- draw this variable and associated factors only. I do recall we spoke about this at length on the phone. There is no rush to do this now, but lets leave the issue open and see if others are interested.
Is this because we made
Let's at least document why?
I recall the main issue is around I'd definitely want to keep Potential workarounds (later if we decide to add something or a workaround), and :
I'd vote in v1.x we do the third option, use tricks like |
The origin of removing orphans was that big variable order bug #337. If it’s only for visualization I’d say a view out filter approach would work fine. If there are other use cases we can go ahead and implement orphaned factors.
|
Thanks, think that is it then. Lets do "user must filter out" approach until there is enough demand to change. We can reopen the issue if folks continue to pile on requests in this thread.
That's perfect, lets see how far we get with current structure.
Sounds like the workaround would be more refinement of functions than big changes in types, so we should be good for v1.x. Thanks! |
Add an option to allow incomplete factors to be added. Example, on
:x0
a prior and odo to:x1
: ThenbuildSubgraph(fg, [:x0;], allFactors=true)
should return[:x0f1]--(:x0)--[:x0x1f1]
even though[:x0x1f1]
is missing the other variable(:x1)
.Default must be
allFactors=false
.The text was updated successfully, but these errors were encountered: