@@ -339,15 +339,6 @@ function getVariableSolverData(dfg::AbstractDFG, variablekey::Symbol, solvekey::
339
339
end
340
340
341
341
342
- """
343
- $(SIGNATURES)
344
- Deprecated: Add variable solver data, errors if it already exists.
345
- """
346
- function addVariableSolverData! (dfg:: AbstractDFG , variablekey:: Symbol , vnd:: VariableNodeData , solverKey:: Symbol = :default ):: VariableNodeData
347
- @warn " This function is deprecated and will be removed in the next version, please use addVariableSolverData!(dfg::AbstractDFG, variablekey::Symbol, vnd::VariableNodeData)"
348
- return addVariableSolverData! (dfg, variablekey, vnd)
349
- end
350
-
351
342
"""
352
343
$(SIGNATURES)
353
344
Add variable solver data, errors if it already exists.
@@ -369,28 +360,6 @@ NOTE: Copies the solver data.
369
360
addVariableSolverData! (dfg:: AbstractDFG , sourceVariable:: DFGVariable , solverKey:: Symbol = :default ) =
370
361
addVariableSolverData! (dfg, sourceVariable. label, deepcopy (getSolverData (sourceVariable, solverKey)))
371
362
372
- """
373
- $(SIGNATURES)
374
- Update variable solver data if it exists, otherwise add it.
375
-
376
- Notes:
377
- - `useCopy=true` to copy solver data and keep separate memory.
378
- - Use `fields` to updated only a few VND.fields while adhering to `useCopy`.
379
-
380
- Related
381
-
382
- mergeVariableSolverData!
383
- """
384
- function updateVariableSolverData! (dfg:: AbstractDFG ,
385
- variablekey:: Symbol ,
386
- vnd:: VariableNodeData ,
387
- solverKey:: Symbol = :default ,
388
- useCopy:: Bool = true ,
389
- fields:: Vector{Symbol} = Symbol[],
390
- verbose:: Bool = true )
391
- @warn " This function is deprecated, please use updateVariableSolverData!(dfg::AbstractDFG, variablekey::Symbol, vnd::VariableNodeData, solverKey::Symbol=:default, useCopy::Bool=true, fields::Vector{Symbol}=Symbol, verbose::Bool=true)"
392
- return updateVariableSolverData! (dfg, variablekey, vnd, useCopy, fields, verbose)
393
- end
394
363
395
364
"""
396
365
$(SIGNATURES)
553
522
# Not the most efficient call but it at least reuses above (in memory it's probably ok)
554
523
getPPE (dfg:: AbstractDFG , sourceVariable:: VariableDataLevel1 , ppekey:: Symbol = default):: AbstractPointParametricEst = getPPE (dfg, sourceVariable. label, ppekey)
555
524
556
- """
557
- $(SIGNATURES)
558
- Add variable PPE, errors if it already exists.
559
- """
560
- function addPPE! (dfg:: AbstractDFG , variablekey:: Symbol , ppe:: P , ppekey:: Symbol = :default ):: AbstractPointParametricEst where P <: AbstractPointParametricEst
561
- @warn (" This function is deprecated, please call addPPE!(dfg::AbstractDFG, variablekey::Symbol, ppe::P)" )
562
- return addPPE! (dfg, variablekey, ppe)
563
- end
564
-
565
525
"""
566
526
$(SIGNATURES)
567
527
Add variable PPE, errors if it already exists.
@@ -583,14 +543,6 @@ NOTE: Copies the PPE.
583
543
addPPE! (dfg:: AbstractDFG , sourceVariable:: DFGVariable , ppekey:: Symbol = :default ) =
584
544
addPPE! (dfg, sourceVariable. label, deepcopy (getPPE (sourceVariable, ppekey)))
585
545
586
- """
587
- $(SIGNATURES)
588
- Update PPE data if it exists, otherwise add it -- one call per `key::Symbol=:default`.
589
- """
590
- function updatePPE! (dfg:: AbstractDFG , variablekey:: Symbol , ppe:: P , ppekey:: Symbol = :default ):: P where P <: AbstractPointParametricEst
591
- @warn (" This function is deprecated, please call updatePPE!(dfg::AbstractDFG, variablekey::Symbol, ppe::P)" )
592
- return updatePPE! (dfg, variablekey, ppe)
593
- end
594
546
595
547
"""
596
548
$(SIGNATURES)
0 commit comments