sdboyer / gogl

A graph library in Go
MIT License
77 stars 13 forks source link

Use floats instead of ints for Weighted #7

Closed sdboyer closed 10 years ago

sdboyer commented 10 years ago

There's no reason that edge weights should be constrained to ints. the most generic type to use is float64, so let's convert to that.