559f7c3cd1fad2bdf4426245880daf6c99d36686
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 21
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method private expandSkippedEdges(skippedEdge1 int, skippedEdge2 int, from int, to int, reverse boolean) : void renamed to private expandSkippedEdgesEdgeBased(skippedEdge1 int, skippedEdge2 int, base int, adj int, reverse boolean, prevOrNextEdgeId int) : void in class com.graphhopper.storage.ShortcutUnpacker | From | To | |
| Rename Method public visitOriginalEdges(edgeId int, adjNode int, reverseOrder boolean) : void renamed to private doVisitOriginalEdges(edgeId int, adjNode int, reverseOrder boolean, reverse boolean, prevOrNextEdgeId int) : void in class com.graphhopper.storage.ShortcutUnpacker | From | To | |
| Move And Rename Method | 1 | ||
| Move And Rename Method private shortcut(baseNode int, adjNode int, weight double, distance double, skip1 int, skip2 int, origFirst int, origLast int) : void from class com.graphhopper.storage.ShortcutUnpackerTest to private addShortcut(from int, to int, origFirst int, origLast int, skip1 int, skip2 int, edgeWeight double, distance double, turnCost int) : void from class com.graphhopper.routing.ch.Path4CHTest | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type costs : int to costs : double in method private addTurnCost(g Graph, tcs TurnCostExtension, costs double, from int, via int, to int) : void in class com.graphhopper.routing.EdgeBasedRoutingAlgorithmTest | From | To | |
| Rename Variable | 1 | ||
| Rename Variable tmpEdge : int to prevEdge : SPTEntry in method private extractFwdPath() : void in class com.graphhopper.routing.PathBidirRef | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type tmpEdge : int to prevEdge : SPTEntry in method private extractFwdPath() : void in class com.graphhopper.routing.PathBidirRef | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type encoder : CarFlagEncoder to encoder : FlagEncoder in class com.graphhopper.routing.CHQueryWithTurnCostsTest | From | To | |
| Inline Variable | 2 | ||
| Inline Variable expectedPath : IntArrayList in method public testFindPath_randomContractionOrder_simpleLoop() : void from class com.graphhopper.routing.ch.CHTurnCostTest | From | To | |
| Inline Variable nextEdgeValid : boolean in method public extract() : Path from class com.graphhopper.routing.PathBidirRef | From | To | |
| Extract Method | 4 | ||
| Extract Method private extractBwdPath() : void extracted from public extract() : Path in class com.graphhopper.routing.PathBidirRef | From | To | |
| Extract Method protected getShortcutUnpacker(routingGraph Graph, weighting Weighting) : ShortcutUnpacker extracted from public Path4CH(routingGraph Graph, baseGraph Graph, weighting Weighting) in class com.graphhopper.routing.ch.Path4CH | From | To | |
| Extract Method private extractFwdPath() : void extracted from public extract() : Path in class com.graphhopper.routing.PathBidirRef | From | To | |
| Extract Method private testPathCalculation(from int, to int, expectedEdgeWeight int, expectedNodes IntArrayList, expectedTurnCost int) : void extracted from private testPathCalculation(from int, to int, expectedWeight int, expectedNodes IntArrayList) : void in class com.graphhopper.routing.CHQueryWithTurnCostsTest | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter expectedWeight : int to expectedEdgeWeight : int in method private checkPath(expectedPath IntArrayList, expectedEdgeWeight int, expectedTurnCosts int, from int, to int, contractionOrder List<Integer>) : void in class com.graphhopper.routing.ch.CHTurnCostTest | From | To | |
| Rename Parameter endNode : int to adjNode : int in method protected processEdge(edgeId int, adjNode int, prevEdgeId int) : void in class com.graphhopper.routing.ch.Path4CH | From | To | |
| Rename Parameter weight : double to edgeWeight : double in method private addShortcut(from int, to int, origFirst int, origLast int, skip1 int, skip2 int, edgeWeight double, distance double, turnCost int) : void in class com.graphhopper.routing.ch.Path4CHTest | From | To |