Skip to content

Commit

Permalink
fix: adjust code
Browse files Browse the repository at this point in the history
issue: #282
  • Loading branch information
CodeBear801 committed Apr 23, 2020
1 parent 61eddea commit 2af91b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions integration/service/oasis/stationgraph/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Data structure
* station 1, charge to 60% of maximum energy then left
* station 1, charge to 80% of maximum energy then left
* station 1, charge to 100% of maximum energy then left
* Logical node is identified by unique station ID + chargingStatus
+ connectivity: first built physical connectivity, then built logical
* physical connectivity is ansowered by interface of connectivitymap.Querier, eg, station 1 connects station 4 and station 5
* logical connectivity is build considering physical connection + final charging status
Expand Down
2 changes: 1 addition & 1 deletion integration/service/oasis/stationgraph/station_graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func accumulateDistanceAndDuration(g Graph, from nodeID, to nodeID, distance, du

}

// There will be multiple remaning range for destination node for multiple solutions
// There will be different remaning range for destination node for multiple solutions
// For example:
// Solution 1: via station 111 -> station 222 -> Destination with remaning range 123
// Solution 2: via station 333 -> Destination with remaning range 45
Expand Down

0 comments on commit 2af91b4

Please sign in to comment.