Skip to content

Commit c8da0a6

Browse files
authored
isSolveInProgress
1 parent 5c1fac3 commit c8da0a6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/services/AbstractDFG.jl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,20 @@ isSolveInProgress
341341
"""
342342
isSolvable(var::Union{DFGVariable, DFGFactor}) = var.ready
343343

344+
"""
345+
$SIGNATURES
346+
347+
Which variables or factors are currently being used by an active solver. Useful for ensuring atomic transactions.
348+
349+
DevNotes:
350+
- Will be renamed to `data.solveinprogress` which will be in VND, not DFGNode -- see DFG #201
351+
352+
Related
353+
354+
isSolvable
355+
"""
356+
isSolveInProgress(var::Union{DFGVariable, DFGFactor}; solveKey::Symbol=:default) = var.backendset
357+
344358
"""
345359
$(SIGNATURES)
346360
Gets an empty and unique CloudGraphsDFG derived from an existing DFG.

0 commit comments

Comments
 (0)