-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from AlgebraicJulia/integrate
Integrate `JunctionsTrees` and `Decompositions`
- Loading branch information
Showing
21 changed files
with
1,316 additions
and
1,532 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
module JunctionTrees | ||
|
||
|
||
import AMD | ||
import CuthillMcKee | ||
import LinkedLists | ||
import Metis | ||
import TreeWidthSolver | ||
|
||
using AbstractTrees | ||
using Catlab.BasicGraphs | ||
using DataStructures | ||
using SparseArrays | ||
|
||
|
||
# Orders | ||
export Order, inverse | ||
|
||
|
||
# Elimination Algorithms | ||
export AMDJL_AMD, CuthillMcKeeJL_RCM, MetisJL_ND, TreeWidthSolverJL_BT, MCS | ||
|
||
|
||
# Supernode Types | ||
export Node, Maximal, Fundamental | ||
|
||
|
||
# Junction Trees | ||
export JunctionTree, width, height, seperator, residual, clique, seperator_to_parent, seperator_to_self | ||
|
||
|
||
include("junction_trees/orders.jl") | ||
include("junction_trees/elimination_algorithms.jl") | ||
include("junction_trees/ordered_graphs.jl") | ||
include("junction_trees/trees.jl") | ||
include("junction_trees/postorder_trees.jl") | ||
include("junction_trees/elimination_trees.jl") | ||
include("junction_trees/supernode_types.jl") | ||
include("junction_trees/supernode_trees.jl") | ||
include("junction_trees/junction_trees.jl") | ||
|
||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
module StructuredDecompositions | ||
|
||
|
||
include("JunctionTrees.jl") | ||
include("Decompositions.jl") | ||
include("FunctorUtils.jl") | ||
include("DecidingSheaves.jl") | ||
include("junction_trees/JunctionTrees.jl") | ||
include("nested_uwds/NestedUWDs.jl") | ||
|
||
|
||
end |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.