21b787013863caf95553b8b51a679b2f7fab6f97
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Attribute | 1 | ||
Merge Attribute [minimumMaxSettledEdges : int, statisticsResetInterval : int] to config : Config in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Method | 3 | ||
Rename Method private updateSettledEdgeStatistics() : void renamed to private updateMaxSettledEdges() : void in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Method public getStatusString() : String renamed to public getStatisticsString() : String in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Method package doReset() : void renamed to private resetShortestPathTree() : void in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type options : PMap to config : Config in method public WitnessPathSearcher(graph GraphHopperStorage, chGraph CHGraph, turnWeighting TurnWeighting, config Config) in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Change Parameter Type value : int to value : long in method package addObservation(value long) : void in class com.graphhopper.routing.ch.OnFlyStatisticsCalculator | From | To | |
Rename Variable | 3 | ||
Rename Variable isDirectCenterNodePath : boolean to isPotentialBridgePath : boolean in method public runSearch(targetNode int, targetEdge int) : WitnessSearchEntry in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Variable isDirectCenterNodePath : boolean to isPotentialBridgePath : boolean in method private setInitialEntries(sourceNode int, sourceEdge int, centerNode int) : void in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Variable isDirectCenterNodePath : boolean to isBridgePath : boolean in method private updateBestPath(targetNode int, targetEdge int, edgeKey int) : void in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Inline Method | 2 | ||
Inline Method package getNumEntries() : int inlined to public initSearch(centerNode int, sourceNode int, sourceEdge int) : int in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Inline Method protected setupSearcher(graph GraphHopperStorage) : void inlined to public WitnessPathSearcher(graph GraphHopperStorage, chGraph CHGraph, turnWeighting TurnWeighting, config Config) in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Change Return Type | 1 | ||
Change Return Type int to long in method public getNumPolledEdges() : long in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Move Attribute | 2 | ||
Move Attribute private minimumMaxSettledEdges : int from class com.graphhopper.routing.ch.WitnessPathSearcher to private minimumMaxSettledEdges : int from class com.graphhopper.routing.ch.WitnessPathSearcher.Config | From | To | |
Move Attribute private sigmaFactor : double from class com.graphhopper.routing.ch.WitnessPathSearcher to private sigmaFactor : double from class com.graphhopper.routing.ch.WitnessPathSearcher.Config | From | To | |
Extract Class | 1 | ||
Extract Class com.graphhopper.routing.ch.WitnessPathSearcher.Config from class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Attribute | 11 | ||
Rename Attribute totalNumStatCalcResets : long to numSearches : long in class com.graphhopper.routing.ch.WitnessPathSearcher.Stats | From | To | |
Rename Attribute isDirectCenterNodePaths : boolean[] to isPotentialBridgePaths : boolean[] in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Attribute rootParents : IntObjectMap<WitnessSearchEntry> to initialEntryParents : IntObjectMap<WitnessSearchEntry> in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Attribute numDirectCenterNodePaths : int to numPotentialBridgePaths : int in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Attribute totalMaxSettledEdges : long to numSettledEdges : long in class com.graphhopper.routing.ch.WitnessPathSearcher.Stats | From | To | |
Rename Attribute totalMeanSettledEdges : long to maxNumSettledEdges : long in class com.graphhopper.routing.ch.WitnessPathSearcher.Stats | From | To | |
Rename Attribute heap : IntDoubleBinaryHeap to dijkstraHeap : IntDoubleBinaryHeap in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Attribute statisticsCalculator : OnFlyStatisticsCalculator to settledEdgesStats : OnFlyStatisticsCalculator in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Attribute graph : GraphHopperStorage to config : Config in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Attribute totalNumSettledEdges : long to numPolledEdges : long in class com.graphhopper.routing.ch.WitnessPathSearcher.Stats | From | To | |
Rename Attribute bestPathIsDirectCenterNodePath : boolean to bestPathIsBridgePath : boolean in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type graph : GraphHopperStorage to config : Config in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Parameter | 3 | ||
Rename Parameter isDirectCenterNodePath : boolean to isPotentialBridgePath : boolean in method private updateEntry(key int, edge EdgeIteratorState, weight double, currKey int, isPotentialBridgePath boolean) : void in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Parameter isDirectCenterNodePath : boolean to isPotentialBridgePath : boolean in method private setEntry(key int, edge EdgeIteratorState, weight double, parent int, isPotentialBridgePath boolean) : void in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To | |
Rename Parameter options : PMap to config : Config in method public WitnessPathSearcher(graph GraphHopperStorage, chGraph CHGraph, turnWeighting TurnWeighting, config Config) in class com.graphhopper.routing.ch.WitnessPathSearcher | From | To |