a55de7c7f78a37779eab73fdf791e2277fbfeb9d
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 5 | ||
Push Down Method private initCollections() : void from class com.graphhopper.routing.ch.SmartWitnessPathFinder to private initCollections() : void from class com.graphhopper.routing.ch.ArraySmartWitnessPathFinder | From | To | |
Push Down Method public runSearch(toNode int, targetEdge int) : WitnessSearchEntry from class com.graphhopper.routing.ch.SmartWitnessPathFinder to public runSearch(toNode int, targetEdge int) : WitnessSearchEntry from class com.graphhopper.routing.ch.ArraySmartWitnessPathFinder | From | To | |
Push Down Method private setInitialEntries(centerNode int, fromNode int, sourceEdge int) : void from class com.graphhopper.routing.ch.SmartWitnessPathFinder to protected setInitialEntries(centerNode int, fromNode int, sourceEdge int) : void from class com.graphhopper.routing.ch.ArraySmartWitnessPathFinder | From | To | |
Push Down Method private updateBestPath(toNode int, targetEdge int, entry WitnessSearchEntry) : void from class com.graphhopper.routing.ch.SmartWitnessPathFinder to private updateBestPath(toNode int, targetEdge int, entry WitnessSearchEntry) : void from class com.graphhopper.routing.ch.MapSmartWitnessPathFinder | From | To | |
Push Down Method private addOrUpdateInitialEntry(entry WitnessSearchEntry) : void from class com.graphhopper.routing.ch.SmartWitnessPathFinder to private addOrUpdateInitialEntry(entry WitnessSearchEntry) : void from class com.graphhopper.routing.ch.MapSmartWitnessPathFinder | From | To | |
Extract Subclass | 2 | ||
Extract Subclass com.graphhopper.routing.ch.MapSmartWitnessPathFinder from class com.graphhopper.routing.ch.SmartWitnessPathFinder | From | To | |
Extract Subclass com.graphhopper.routing.ch.ArraySmartWitnessPathFinder from class com.graphhopper.routing.ch.SmartWitnessPathFinder | From | To | |
Push Down Attribute | 2 | ||
Push Down Attribute private priorityQueue : PriorityQueue<WitnessSearchEntry> from class com.graphhopper.routing.ch.SmartWitnessPathFinder to private priorityQueue : PriorityQueue<WitnessSearchEntry> from class com.graphhopper.routing.ch.MapSmartWitnessPathFinder | From | To | |
Push Down Attribute private entries : IntObjectMap<WitnessSearchEntry> from class com.graphhopper.routing.ch.SmartWitnessPathFinder to private entries : IntObjectMap<WitnessSearchEntry> from class com.graphhopper.routing.ch.MapSmartWitnessPathFinder | From | To | |
Extract Method | 3 | ||
Extract Method private setEntry(key int, iter EdgeIteratorState, weight double, parent int, onOrigPath boolean) : void extracted from public runSearch(toNode int, targetEdge int) : WitnessSearchEntry in class com.graphhopper.routing.ch.ArraySmartWitnessPathFinder | From | To | |
Extract Method private getEntryForKey(edgeKey int) : WitnessSearchEntry extracted from public runSearch(toNode int, targetEdge int) : WitnessSearchEntry in class com.graphhopper.routing.ch.ArraySmartWitnessPathFinder | From | To | |
Extract Method private updateEntry(key int, iter EdgeIteratorState, weight double, currKey int, onOrigPath boolean) : void extracted from public runSearch(toNode int, targetEdge int) : WitnessSearchEntry in class com.graphhopper.routing.ch.ArraySmartWitnessPathFinder | From | To |