@@ -33,14 +33,14 @@ Base.@kwdef mutable struct State{T <: StateType, P, N}
3333 " Parametric (Gaussian) covariance."
3434 covar:: Vector{SMatrix{N, N, Float64}} =
3535 SMatrix{getDimension (T), getDimension (T), Float64}[]
36- BayesNetOutVertIDs:: Vector{Symbol} = Symbol[] # TODO looks unused?
36+ # BayesNetOutVertIDs::Vector{Symbol} = Symbol[] #TODO looks unused?
3737
3838 dims:: Int = getDimension (T) # TODO should we deprecate in favor of N
39- """
40- Flag used by junction (Bayes) tree construction algorithm to know whether this variable has yet been included in the tree construction.
41- """
42- eliminated:: Bool = false
43- BayesNetVertID:: Symbol = :NOTHING # Union{Nothing, } #TODO deprecate
39+ # """
40+ # Flag used by junction (Bayes) tree construction algorithm to know whether this variable has yet been included in the tree construction.
41+ # """
42+ # eliminated::Bool = false
43+ # BayesNetVertID::Symbol = :NOTHING # Union{Nothing, } #TODO deprecate
4444 separator:: Vector{Symbol} = Symbol[]
4545 """
4646 False if initial numerical values are not yet available or stored values are not ready for further processing yet.
@@ -106,10 +106,10 @@ Base.@kwdef mutable struct PackedState
106106 dimval:: Int
107107 vecbw:: Vector{Float64}
108108 dimbw:: Int
109- BayesNetOutVertIDs:: Vector{Symbol} # Int
109+ # BayesNetOutVertIDs::Vector{Symbol} # Int
110110 dims:: Int
111- eliminated:: Bool # TODO Questionable usage, set but never read?
112- BayesNetVertID:: Symbol # Int #TODO deprecate
111+ # eliminated::Bool # TODO Questionable usage, set but never read?
112+ # BayesNetVertID::Symbol # Int #TODO deprecate
113113 separator:: Vector{Symbol} # Int #TODO maybe remove from State and have in variable only.
114114 variableType:: String
115115 initialized:: Bool
@@ -187,7 +187,7 @@ StructUtils.@kwarg struct VariableDFG{T <: StateType, P, N} <: AbstractGraphVari
187187 _autotype:: Nothing = nothing & (name = :type , lower = _ -> TypeMetadata (VariableDFG))
188188end
189189
190- refStates (v:: VariableCompute ) = v. states
190+ refStates (v:: VariableDFG ) = v. states
191191
192192const VariableCompute = VariableDFG
193193# #------------------------------------------------------------------------------
@@ -215,10 +215,6 @@ function VariableCompute(
215215 return VariableCompute {T, P, N} (; label, timestamp, solvable, kwargs... )
216216end
217217
218- function VariableCompute (label:: Symbol , variableType:: StateType ; kwargs... )
219- return VariableCompute (label, typeof (variableType); kwargs... )
220- end
221-
222218function VariableCompute (label:: Symbol , state:: State ; kwargs... )
223219 return VariableCompute (;
224220 label,
0 commit comments