Skip to content

Commit 13af310

Browse files
committed
Cleaning up
1 parent 4516872 commit 13af310

12 files changed

+42
-1250
lines changed

REQUIRE

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
julia 1.0
22
DocStringExtensions 0.4.1
3-
LightGraphs 1.2.0
4-
MetaGraphs 0.6.1
3+
# LightGraphs 1.2.0
4+
# MetaGraphs 0.6.1
55
Requires 0.5.2
66
DataFrames
77
JSON2
8+
Graphs

src/DistributedFactorGraphs.jl

Lines changed: 15 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
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-
###
161
module DistributedFactorGraphs
172

183
using Base
@@ -21,25 +6,26 @@ using Requires
216

227
# Entities
238
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")
2911

3012
export AbstractDFG
31-
# export DistributedFactorGraph
32-
3313
export DFGNode
34-
export DFGFactor#, GenericFunctionNodeData, FunctionNodeData, PackedFunctionNodeData
35-
export DFGVariable#, ContinuousScalar, ContinuousMultivariate, VariableNodeData, PackedVariableNodeData
14+
export DFGFactor
15+
export DFGVariable
3616

3717
# 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
4329

4430
# Include the Graphs.jl API.
4531
include("services/GraphsDFG.jl")

src/FGOSUtils.jl

Lines changed: 0 additions & 301 deletions
This file was deleted.

0 commit comments

Comments
 (0)