Skip to content

Commit 759e590

Browse files
committed
WIP on comparators
1 parent 16ff419 commit 759e590

File tree

5 files changed

+467
-8
lines changed

5 files changed

+467
-8
lines changed

Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
99
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
1010
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
1111
JSON2 = "2535ab7d-5cd8-5a07-80ac-9b1792aadce3"
12+
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1213
Neo4j = "d2adbeaf-5838-5367-8a2f-e46d570981db"
1314
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
1415
Requires = "ae029012-a4dd-5104-9daa-d747884805df"

src/DistributedFactorGraphs.jl

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ using Dates
77
using Distributions
88
using Reexport
99
using JSON2
10+
using LinearAlgebra
1011

1112
# Entities
1213
include("entities/AbstractTypes.jl")
@@ -31,12 +32,32 @@ export GenericFunctionNodeData#, FunctionNodeData
3132
export getSerializationModule, setSerializationModule!
3233
export pack, unpack
3334

35+
# Comparators
36+
# some utils
37+
export
38+
compareField,
39+
compareFields,
40+
compareAll,
41+
compareAllSpecial,
42+
compareVariable,
43+
compareFactor,
44+
compareAllVariables,
45+
compareSimilarVariables,
46+
compareSubsetFactorGraph,
47+
compareSimilarFactors,
48+
compareFactorGraphs
49+
50+
51+
# Common includes
3452
include("services/AbstractDFG.jl")
3553
include("services/DFGVariable.jl")
3654

3755
# Include the Graphs.jl API.
3856
include("GraphsDFG/GraphsDFG.jl")
3957

58+
# Comparators
59+
include("services/Comparators.jl")
60+
4061
function __init__()
4162
@require DataFrames="a93c6f00-e57d-5684-b7b6-d8193f3e46c0" begin
4263
if isdefined(Main, :DataFrames)

0 commit comments

Comments
 (0)