Dan Kortschak
|
97dc6c81b4
|
graph/path: use NaN internally for negative cycle weights
|
2019-02-10 06:50:51 +10:30 |
|
Dan Kortschak
|
ee7dd3742a
|
graph/path: indicate negative cycle weights with -Inf instead of NaN
The paths are undefined, but the limit of the path weight is -Inf.
|
2019-02-10 06:50:51 +10:30 |
|
Dan Kortschak
|
936e3fec9e
|
graph/path: fix negative cycle handling by AllShortest and FloydWarshall
Also remove unjustifiable claim in Bellman-Ford negative cycles example and add
Floyd-Warshall negative cycles example.
|
2019-02-10 06:50:51 +10:30 |
|
Dan Kortschak
|
5b0db962f3
|
graph/path: make AllShortest safe for length zero
|
2018-11-21 07:57:39 +10:30 |
|
Dan Kortschak
|
f5d91d72f8
|
graph/path: allow incremental path building for Dijkstra
|
2018-05-24 07:13:55 +09:30 |
|
Dan Kortschak
|
6b03bc22e1
|
graph: use int64 for node retrieval
|
2018-03-24 09:21:44 +10:30 |
|
kortschak
|
fa0c5aa7bc
|
all: use golang.org/x/exp/rand instead of math/rand
|
2017-11-17 11:52:34 +10:30 |
|
kortschak
|
805531d142
|
all: change capitalization of gonum in license header
|
2017-11-02 06:54:08 +10:30 |
|
kortschak
|
f818f8f7a9
|
graph/path: allow Shortest to traverse negative cycles
Also add checks for cases where negative cycles exist but are not marked
to protect against future shortest path function additions.
|
2017-09-15 08:17:25 +09:30 |
|
kortschak
|
a18d79f600
|
graph/{internal,path,topo}: factor reverse function out into internal
|
2017-09-15 07:05:29 +09:30 |
|
kortschak
|
15ecc07d40
|
graph/path/...: update for int64 IDs
|
2017-07-02 08:38:42 +09:30 |
|
Brendan Tracey
|
0d639745f1
|
all: update packages from mat64 to mat.
This mostly changes package name and code, but also fixes a couple of name clashes with the new package names
|
2017-06-13 10:28:21 -06:00 |
|
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 |
|