Skip to content

Conversation

@Emmanuel-PLF
Copy link

Floyd's algorithm can be interesting when graph density is high (more edges than vertex).

@UnixJunkie
Copy link

how does this compares to this:
#63

@UnixJunkie
Copy link

I might give a try at this implementation and report about it.

@UnixJunkie
Copy link

Is there something needed so that this PR could be accepted?

@UnixJunkie
Copy link

Is it normal to get NegativeCycle when my graph has only edges of length 1?
adding 0 1
adding 0 5
adding 1 2
adding 2 3
adding 3 4
adding 4 5
Fatal error: exception Graph.Path.FloydWarshall(G)(W).NegativeCycle
@Emmanuel-PLF

@UnixJunkie
Copy link

My graph is undirected, has 6 nodes connected in a ring.

@UnixJunkie
Copy link

Also, there is already the Johnson algorithm in ocamlgraph.

@UnixJunkie
Copy link

@slindley

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants