Replies: 3 comments
-
SDK Smarts? (17 Aug 2021)
|
Beta Was this translation helpful? Give feedback.
-
SDK Needs 2021/8/17 (Sam asked for)
|
Beta Was this translation helpful? Give feedback.
-
Core Package LayoutRev 17 August 2021Legend:
|
Beta Was this translation helpful? Give feedback.
-
Short-Tape-Long-Tape Requirements (Duplication-model)
Illustration of the Duplication Model:
References to related open and closed discussions:
Synchronization Requirements
addFactor!
only makes sense after respective variables are in the graph.<:AbstractDFG
first call requiredaddVariable!
s before callingaddFactor!
,or restrictions on DFG API case,
fetch(addFactor!(...))
as mechanism for blocking on async call.copyGraph!
case) first do alladdVariable!
calls of graph, then alladdFactors!
,copyGraph
, and Jim's queuing algorithm also bumps factor to the end of the queue if it can't find all the variables. However, in IIF we don't wait for them to exist first. That will need to happen, or we will have to remove the existence check.@async
addVariableAsync!
,addFactorAsync!
-- returns task ids rather than return DFGVariable/DFGFactor?addFactor!(w...;kw...) = fetch(addFactorAsync!(w...;kw...))
?fetch(addFactor!(...))
(via aTask
)?<:AbstractDFG
.copy!(cfg, lfg)
,copy!(lfg, cfg)
, orloadDFG!(cfg, filedfg)
, ormerge!(lfg, cfg)
solvable=0
set to avoid concurrency issues with services,setSolvable!(newnodeset, 1)
once nodes edges are confirmed to exist on server, and similar atomic forbackendset
semaphore below.backendset=1
fromIIF.solveGraph!
,Serialization
XRef Related Wikis
verbNoun
API standardBeta Was this translation helpful? Give feedback.
All reactions