Wrote a basic simulator for a grid-based street network.

Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
Moved function to add a new node from crop.jl to nodes.jl.
No actual functionality changes.

Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
Wrote tests for grid streetmap simulation.

Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
Changed coordinates.jl unit test to use approximate floating point comparison.

Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
Updated floating point tests to use @test_approx_eq rather than @test.

Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
Changed grid city simulation so that nodes are 100 meters apart rather than 1 meter.

Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
Added option to construct a reverse routing network.
It might be useful in some cases.

Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
Segment types now contain their distance.

Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
Eliminated type checking on "dijkstra" in function "extractRoutes."
It's not necessary, and I needed to be able to send different variants of the DijkstraStates algorithm.
This shouldn't have an effect for any OpenStreetMap package users.

Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
Update test framework

Tests now pass on travis and locally (via the new Pkg.test()).
testing