Commit Graph

15 Commits

Author SHA1 Message Date
Dan Kortschak
9182d211c6 graph/internal/set: make Nodes creation a function
This allows us to alter the type that is returned and the
underlying implementation if necessary.
2019-03-14 20:54:06 +10:30
Dan Kortschak
761876748e graph: make edges and lines reversible 2019-03-13 07:14:55 +10:30
Dan Kortschak
20a66e6733 graph/simple: wire up node and edge addition and deletion tests 2019-02-01 08:51:46 +10:30
Dan Kortschak
14c7f9569f graph: add Empty universal iterator for empty returns 2018-12-22 09:59:24 +10:30
Dan Kortschak
2df0688894 graph/simple: test graph implementations with testgraph package
Fix bugs found by testgraph.
2018-11-21 11:35:03 +10:30
Dan Kortschak
969ecdd209 graph: remove Has method from Graph and Multigraph 2018-10-12 17:57:01 +10:30
Dan Kortschak
72366fbe54 graph/{multi,simple}: ensure implementations satisfy the interfaces they target 2018-09-23 19:12:43 +09:30
Dan Kortschak
a1b5d898fe graph: use int64 for node removal 2018-05-07 19:11:10 +09:30
Dan Kortschak
6b03bc22e1 graph: use int64 for node retrieval 2018-03-24 09:21:44 +10:30
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
kortschak
7ba61f0ead graph/...: remove Weight method from Edge 2017-08-24 10:21:15 +09:30
kortschak
a0c93557a5 graph,graph/simple: add weighted graph interfaces and implementations 2017-08-24 10:21:06 +09:30
kortschak
39b486f179 graph: revert NewNodeID -> NewNode 2017-07-07 06:59:14 +09:30
Brendan Tracey
d33397aa65 all: change import paths 2017-05-23 00:03:03 -06:00
Brendan Tracey
059a6c43f9 graph: imported graph as a subtree 2017-05-23 00:02:59 -06:00