diff --git a/src/junction_trees/elimination_trees.jl b/src/junction_trees/elimination_trees.jl index 1a87c9a..0ef95dd 100644 --- a/src/junction_trees/elimination_trees.jl +++ b/src/junction_trees/elimination_trees.jl @@ -1,7 +1,7 @@ # An ordered graph (G, σ) equipped with the elimination tree T of its elimination graph. # Nodes i in T correspond to vertices σ(i) in G. struct EliminationTree{T <: Union{Tree, PostorderTree}} - tree::T # elimination tree + tree::T # elimination tree graph::OrderedGraph # ordered graph end diff --git a/src/junction_trees/supernode_trees.jl b/src/junction_trees/supernode_trees.jl index 24dbc43..f47d867 100644 --- a/src/junction_trees/supernode_trees.jl +++ b/src/junction_trees/supernode_trees.jl @@ -1,7 +1,7 @@ # An ordered graph (G, σ) equipped with a supernodal elimination tree T. struct SupernodeTree tree::PostorderTree # supernodal elimination tree - graph::OrderedGraph # ordered graph + graph::OrderedGraph # ordered graph representative::Vector{Int} # representative vertex cardinality::Vector{Int} # supernode cardinality ancestor::Vector{Int} # first ancestor