pgraph: Update graph API to remove Get prefix and add Adjacency

Simple cleanups.
This commit is contained in:
James Shubin
2017-05-15 09:56:28 -04:00
parent e67d97d9da
commit cc8e2e40dd
4 changed files with 21 additions and 15 deletions

View File

@@ -212,7 +212,7 @@ func TestPgraphT6(t *testing.T) {
G.AddEdge(v5, v6, e5)
//G.AddEdge(v6, v4, e6)
graphs, err := G.GetDisconnectedGraphs()
graphs, err := G.DisconnectedGraphs()
if err != nil {
t.Errorf("failed with: %v", err)
}