Skip to content

Commit 6cfcccd

Browse files
committed
Removing getInnerGraph()
1 parent f2f4141 commit 6cfcccd

File tree

11 files changed

+4
-20
lines changed

11 files changed

+4
-20
lines changed

src/CloudGraphsDFG/CloudGraphsDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include("services/CloudGraphsDFG.jl")
1212
export Neo4jInstance, CloudGraphsDFG
1313
export exists
1414
export clearSession!
15-
export getLabelDict, getDescription, setDescription, getInnerGraph, getAddHistory, getSolverParams, setSolverParams
15+
export getLabelDict, getDescription, setDescription, getAddHistory, getSolverParams, setSolverParams
1616

1717
export getAddHistory, getDescription, getLabelDict
1818
export addVariable!, addFactor!

src/GraphsDFG/GraphsDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ include("services/GraphsDFG.jl")
77
# Exports
88
export GraphsDFG
99
export exists
10-
export getLabelDict, getDescription, setDescription, getInnerGraph, getAddHistory, getSolverParams, setSolverParams
10+
export getLabelDict, getDescription, setDescription, getAddHistory, getSolverParams, setSolverParams
1111

1212
export getAddHistory, getDescription, getLabelDict
1313
export addVariable!, addFactor!

src/GraphsDFG/services/GraphsDFG.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ vertex_index(v::GraphsNode) = v.index
1919
getLabelDict(dfg::GraphsDFG) = dfg.labelDict
2020
getDescription(dfg::GraphsDFG) = dfg.description
2121
setDescription(dfg::GraphsDFG, description::String) = dfg.description = description
22-
getInnerGraph(dfg::GraphsDFG) = dfg.g
2322
getAddHistory(dfg::GraphsDFG) = dfg.addHistory
2423
getSolverParams(dfg::GraphsDFG) = dfg.solverParams
2524
function setSolverParams(dfg::GraphsDFG, solverParams::T) where T <: AbstractParams

src/LightDFG/LightDFG.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import ...DistributedFactorGraphs: AbstractDFG, DFGNode, AbstractDFGVariable, Ab
77

88
# import DFG functions to extend
99
import ...DistributedFactorGraphs: setSolverParams,
10-
getInnerGraph,
1110
getFactor,
1211
setDescription,
1312
getLabelDict,

src/LightDFG/services/LightDFG.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
getLabelDict(dfg::LightDFG) = copy(dfg.g.labels.sym_int)
55
getDescription(dfg::LightDFG) = dfg.description
66
setDescription(dfg::LightDFG, description::String) = dfg.description = description
7-
getInnerGraph(dfg::LightDFG) = dfg.g
87
getAddHistory(dfg::LightDFG) = dfg.addHistory
98
getSolverParams(dfg::LightDFG) = dfg.solverParams
109

src/MetaGraphsDFG/MetaGraphsDFG.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ include("entities/MetaGraphsDFG.jl")
66
include("services/MetaGraphsDFG.jl")
77

88
# Exports
9-
# Deprecated -
9+
# Deprecated -
1010
# export MetaGraphsDFG
1111
export exists
12-
export getLabelDict, getDescription, setDescription, getInnerGraph, getAddHistory, getSolverParams, setSolverParams
12+
export getLabelDict, getDescription, setDescription, getAddHistory, getSolverParams, setSolverParams
1313
#
1414
export getAddHistory, getDescription, getLabelDict
1515
export addVariable!, addFactor!

src/MetaGraphsDFG/services/MetaGraphsDFG.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
getLabelDict(dfg::MetaGraphsDFG) = copy(dfg.g.metaindex[:label])
33
getDescription(dfg::MetaGraphsDFG) = dfg.description
44
setDescription(dfg::MetaGraphsDFG, description::String) = dfg.description = description
5-
getInnerGraph(dfg::MetaGraphsDFG) = dfg.g
65
getAddHistory(dfg::MetaGraphsDFG) = dfg.addHistory
76
getSolverParams(dfg::MetaGraphsDFG) = dfg.solverParams
87

src/SymbolDFG/SymbolDFG.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ using DocStringExtensions
77
import ...DistributedFactorGraphs: AbstractDFG, DFGNode, AbstractParams, NoSolverParams, DFGVariable, DFGFactor
88
# import DFG functions to exstend
99
import ...DistributedFactorGraphs: setSolverParams,
10-
getInnerGraph,
1110
getFactor,
1211
setDescription,
1312
getLabelDict,

src/SymbolDFG/services/SymbolDFG.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
getLabelDict(dfg::SymbolDFG) = copy(dfg.g.fadjdict)
44
getDescription(dfg::SymbolDFG) = dfg.description
55
setDescription(dfg::SymbolDFG, description::String) = dfg.description = description
6-
getInnerGraph(dfg::SymbolDFG) = dfg.g
76
getAddHistory(dfg::SymbolDFG) = dfg.addHistory
87
getSolverParams(dfg::SymbolDFG) = dfg.solverParams
98

src/services/AbstractDFG.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ end
3636
function setDescription(dfg::G, description::String) where G <: AbstractDFG
3737
error("setDescription not implemented for $(typeof(dfg))")
3838
end
39-
function getInnerGraph(dfg::G) where G <: AbstractDFG
40-
error("getInnerGraph not implemented for $(typeof(dfg))")
41-
end
4239
function getAddHistory(dfg::G) where G <: AbstractDFG
4340
error("getAddHistory not implemented for $(typeof(dfg))")
4441
end

0 commit comments

Comments
 (0)