Skip to content

Commit ebac912

Browse files
authored
fix docstring and index.md install instructions (#314)
1 parent a48ed4a commit ebac912

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ add DistributedFactorGraphs
2222

2323
# Usage
2424
DistributedFactorGraphs (DFG) currently supports two implementations:
25-
* An in-memory factor graph based on Graphs.jl
25+
* An in-memory factor graphs based on Graphs.jl and LightGraphs.jl
2626
* A Neo4j-based factor graph based on Neo4j.jl
2727

2828
The in-memory implementation is the default. The Neo4j driver can be enabled by importing Neo4j before DFG:

docs/src/index.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
# Introduction
22

3-
This package is a specialized Julia graphing wrapper.
3+
DistributedFactorGraphs.jl provides a flexible factor graph API for use in the [Caesar.jl](https://github.com/JuliaRobotics/Caesar.jl) ecosystem. The package supplies:
4+
* A standardized API for interacting with factor graphs
5+
* Implementations of the API for in-memory and database-driven operation
6+
* Visualization extensions to validate the underlying graph
7+
8+
**Note** this package is still under initial development, and will adopt parts of the functionality currently contained in [IncrementalInference.jl](http://www.github.com/JuliaRobotics/IncrementalInference.jl).
49

510
## Installation
6-
This package is not yet registered with JuliaLang/METADATA.jl, but can be easily installed in Julia 0.6 with:
11+
12+
DistributedFactorGraphs can be installed from Julia packages using:
713
```julia
8-
julia> ]add https://github.com/GearsAD/GraffSDK.jl.git
14+
julia> ]add DistributedFactorGraphs
915
```
1016

1117
## Manual Outline

src/services/AbstractDFG.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,12 +900,12 @@ end
900900
## Variable Data: VND and PPE
901901
##==============================================================================
902902

903+
#TODO API
903904
"""
904905
$(SIGNATURES)
905906
Merges and updates solver and estimate data for a variable (variable can be from another graph).
906907
Note: Makes a copy of the estimates and solver data so that there is no coupling between graphs.
907908
"""
908-
#TODO API
909909
function mergeVariableData!(dfg::AbstractDFG, sourceVariable::AbstractDFGVariable)::AbstractDFGVariable
910910

911911
var = getVariable(dfg, sourceVariable.label)
@@ -921,12 +921,12 @@ function mergeVariableData!(dfg::AbstractDFG, sourceVariable::AbstractDFGVariabl
921921
return var
922922
end
923923

924+
#TODO API
924925
"""
925926
$(SIGNATURES)
926927
Common function to update all solver data and estimates from one graph to another.
927928
This should be used to push local solve data back into a cloud graph, for example.
928929
"""
929-
#TODO API
930930
function mergeGraphVariableData!(destDFG::H, sourceDFG::G, varSyms::Vector{Symbol})::Nothing where {G <: AbstractDFG, H <: AbstractDFG}
931931
# Update all variables in the destination
932932
# (For now... we may change this soon)

0 commit comments

Comments
 (0)