Skip to content

Commit

Permalink
New supernode type: FundamentalSupernode.
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelsonric committed Sep 27, 2023
1 parent fd7e214 commit 8058489
Show file tree
Hide file tree
Showing 13 changed files with 688 additions and 378 deletions.
4 changes: 2 additions & 2 deletions docs/literate/pixel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ function PixelArray(f::Function, xdim::NamedTuple, ydim::NamedTuple, tol::Real)
end;
# For plotting:
function Base.isless(x::Int, y::BoolRig)
y == true ? x < 1 : x < 0
x < y.value
end;
# Example 2.4.1 in Spivak et. al.
# Example 2.4.1 in Spivak et al.
# ```math
# \begin{align*}
# & \text{Solve relations:} && \cos(\ln(z^2 + 10^{-3}x)) - x + 10^{-5}z^{-1} = 0 && \text{(Equation 1)} \\
Expand Down
1 change: 1 addition & 0 deletions docs/src/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ MetisJL_ND
SupernodeType
Node
MaximalSupernode
FundamentalSupernode
```

## Architectures
Expand Down
13 changes: 7 additions & 6 deletions src/AlgebraicInference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module AlgebraicInference


# Systems
export CanonicalForm, DenseCanonicalForm, DenseGaussianSystem, GaussianSystem
export GaussianSystem, CanonicalForm, DenseCanonicalForm, DenseGaussianSystem
export , cov, invcov, normal, kernel, mean, oapply, var


Expand All @@ -17,13 +17,14 @@ export solve, solve!


# Elimination
export ChordalGraph, EliminationAlgorithm, EliminationTree, AMDJL_AMD, CuthillMcKeeJL_RCM,
JoinTree, MaximalSupernode, MetisJL_ND, MaxCardinality, MinDegree, MinFill, Node,
Order, OrderedGraph, SupernodeType

export EliminationTree, JoinTree, Order, OrderedGraph
export EliminationAlgorithm, AMDJL_AMD, ChordalGraph, CuthillMcKeeJL_RCM, MetisJL_ND,
MaxCardinality, MinDegree, MinFill
export SupernodeType, FundamentalSupernode, MaximalSupernode, Node
export width

# Architectures
export AncestralSampler, ArchitectureType, HUGIN, Idempotent, LauritzenSpiegelhalter,
export ArchitectureType, AncestralSampler, HUGIN, Idempotent, LauritzenSpiegelhalter,
ShenoyShafer


Expand Down
Loading

0 comments on commit 8058489

Please sign in to comment.