2fa1f173477788e2f5b454f342466217aedfb258
Files Diff
- Added: 3
- Removed: 4
- Renamed: 0
- Modified: 7
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type n : int to dominanceFunction : DominanceFunction in method public SingleStateShortestPathTree(options RoutingRequest, dominanceFunction DominanceFunction) in class org.opentripplanner.routing.spt.SingleStateShortestPathTree | From | To | |
| Move Method | 1 | ||
| Move Method public dominates(thisState State, other State) : boolean from class org.opentripplanner.routing.spt.MultiShortestPathTree to public dominates(a State, b State) : boolean from class org.opentripplanner.routing.spt.DominanceFunction.ParetoTimeWeight | From | To | |
| Move Attribute | 5 | ||
| Move Attribute private WALK_DIST_EPSILON : double from class org.opentripplanner.routing.spt.MultiShortestPathTree to private WALK_DIST_EPSILON : double from class org.opentripplanner.routing.spt.DominanceFunction.ParetoTimeWeight | From | To | |
| Move Attribute private TIME_EPSILON : double from class org.opentripplanner.routing.spt.MultiShortestPathTree to private TIME_EPSILON : double from class org.opentripplanner.routing.spt.DominanceFunction.ParetoTimeWeight | From | To | |
| Move Attribute private WEIGHT_EPSILON : double from class org.opentripplanner.routing.spt.MultiShortestPathTree to private WEIGHT_EPSILON : double from class org.opentripplanner.routing.spt.DominanceFunction.ParetoTimeWeight | From | To | |
| Move Attribute private WEIGHT_DIFF_MARGIN : int from class org.opentripplanner.routing.spt.MultiShortestPathTree to private WEIGHT_DIFF_MARGIN : int from class org.opentripplanner.routing.spt.DominanceFunction.ParetoTimeWeight | From | To | |
| Move Attribute private TIME_DIFF_MARGIN : int from class org.opentripplanner.routing.spt.MultiShortestPathTree to private TIME_DIFF_MARGIN : int from class org.opentripplanner.routing.spt.DominanceFunction.ParetoTimeWeight | From | To | |
| Extract Class | 1 | ||
| Extract Class org.opentripplanner.routing.spt.DominanceFunction.ParetoTimeWeight from class org.opentripplanner.routing.spt.MultiShortestPathTree | From | To | |
| Rename Class | 2 | ||
| Rename Class org.opentripplanner.routing.spt.MultiShortestPathTree renamed to org.opentripplanner.routing.spt.MultiStateShortestPathTree | From | To | |
| Rename Class org.opentripplanner.routing.spt.BasicShortestPathTree renamed to org.opentripplanner.routing.spt.SingleStateShortestPathTree | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter n : int to dominanceFunction : DominanceFunction in method public SingleStateShortestPathTree(options RoutingRequest, dominanceFunction DominanceFunction) in class org.opentripplanner.routing.spt.SingleStateShortestPathTree | From | To | |
| Rename Parameter other : State to b : State in method public dominates(a State, b State) : boolean in class org.opentripplanner.routing.spt.DominanceFunction.ParetoTimeWeight | From | To | |
| Rename Parameter thisState : State to a : State in method public dominates(a State, b State) : boolean in class org.opentripplanner.routing.spt.DominanceFunction.ParetoTimeWeight | From | To |