1
- # ## TODO : Discussions
2
- # * What is sofftype, and do we want to make it extensible now?
3
- # * Using longs (not GUIDS) for ID's - that work with everyone?
4
- # * BigData and SmallData are referenced in DFGVariable but I don't
5
- # believe they should be retrieved every time. Thoughts?
6
- # * Is ContinuousScalar used anywhere? Seems like == ContinuousMultivariate(1)
7
- # * Right now InferenceVariable is declared here. Is that fair?
8
- # I.e. IncrementalInference's InferenceVariable type hierarchy starts here
9
-
10
- # ## Discussion
11
- # * Do edgeIds need to be defined twice - both in DFGFactor and GFND?
12
- # The higher up the better.
13
- # * What is GenericWrapParam? Looks like it should have been deprecated.
14
- # ##
15
- # ##
16
1
module DistributedFactorGraphs
17
2
18
3
using Base
@@ -21,25 +6,26 @@ using Requires
21
6
22
7
# Entities
23
8
include (" entities/AbstractTypes.jl" )
24
- # include("entities/DFGFactor.jl")
25
- # include("entities/DFGVariable.jl")
26
- # include("entities/DFGAPI.jl")
27
- # include("entities/DistributedFactorGraph.jl")
28
- # include("services/DistributedFactorGraph.jl")
9
+ include (" entities/DFGFactor.jl" )
10
+ include (" entities/DFGVariable.jl" )
29
11
30
12
export AbstractDFG
31
- # export DistributedFactorGraph
32
-
33
13
export DFGNode
34
- export DFGFactor# , GenericFunctionNodeData, FunctionNodeData, PackedFunctionNodeData
35
- export DFGVariable# , ContinuousScalar, ContinuousMultivariate, VariableNodeData, PackedVariableNodeData
14
+ export DFGFactor
15
+ export DFGVariable
36
16
37
17
# Exports for actual graph operations - we need a complete list here
38
- export addVariable, addFactor
39
- # export addV!, addF!, getV, getF, deleteV!, deleteF!, neighbors, ls, subgraph, adjacencyMatrix
40
-
41
- # Basis of variable and factor - moved from IncrementalInference
42
- # export InferenceType, PackedInferenceType, FunctorInferenceType, InferenceVariable
18
+ export addVariable!
19
+ export addFactor!
20
+ export ls, lsf, getVariables, getFactors
21
+ export getVariable, getFactor
22
+ export updateVariable, updateFactor
23
+ export getAdjacencyMatrix
24
+ export getAdjacencyMatrixDataFrame
25
+ export getNeighbors
26
+ export getSubgraphAroundNode
27
+ export getSubgraph
28
+ export isFullyConnected
43
29
44
30
# Include the Graphs.jl API.
45
31
include (" services/GraphsDFG.jl" )
0 commit comments