forked from Project-OSRM/osrm-backend
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement Edge's map based on placeID mapping
issue: #351
- Loading branch information
1 parent
457b34b
commit fbe4b6f
Showing
9 changed files
with
184 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
package stationgraph | ||
|
||
import "github.com/Telenav/osrm-backend/integration/service/oasis/internal/common" | ||
|
||
type edgeID struct { | ||
fromNodeID nodeID | ||
toNodeID nodeID | ||
} | ||
|
||
type edgeMetric struct { | ||
distance float64 | ||
duration float64 | ||
} | ||
|
||
type edge struct { | ||
edgeId edgeID | ||
edgeMetric *edgeMetric | ||
edgeMetric *common.Weight | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.