You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -445,7 +440,7 @@ Optionally provide a distance to specify the number of edges should be followed.
445
440
Optionally provide an existing subgraph addToDFG, the extracted nodes will be copied into this graph. By default a new subgraph will be created.
446
441
Note: By default orphaned factors (where the subgraph does not contain all the related variables) are not returned. Set includeOrphanFactors to return the orphans irrespective of whether the subgraph contains all the variables.
447
442
"""
448
-
functiongetSubgraphAroundNode(dfg::GraphsDFG, node::T, distance::Int64=1, includeOrphanFactors::Bool=false, addToDFG::GraphsDFG=GraphsDFG())::GraphsDFGwhere T <:DFGNode
443
+
functiongetSubgraphAroundNode(dfg::GraphsDFG{P}, node::T, distance::Int64=1, includeOrphanFactors::Bool=false, addToDFG::GraphsDFG=GraphsDFG{P}())::GraphsDFGwhere{P <:AbstractParams, T <:DFGNode}
449
444
if!haskey(dfg.labelDict, node.label)
450
445
error("Variable/factor with label '$(node.label)' does not exist in the factor graph")
0 commit comments