20e2572189a0db7060c127d5fa207a31ebdae57a
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 6 | ||
Change Parameter Type x : double to x : int in method public getWeight(x int) : double in class org.opentripplanner.analyst.core.WeightingFunction.Logistic | From | To | |
Change Parameter Type x0 : double to cutoff : int in method public SharpCutoff(cutoff int) in class org.opentripplanner.analyst.core.WeightingFunction.SharpCutoff | From | To | |
Change Parameter Type x : double to seconds : int in method public getWeight(seconds int) : double in class org.opentripplanner.analyst.core.WeightingFunction.SharpCutoff | From | To | |
Change Parameter Type cutoff : double to cutoff : int in method public Logistic(cutoff int, steepness double) in class org.opentripplanner.analyst.core.WeightingFunction.Logistic | From | To | |
Change Parameter Type x : double to seconds : int in method public abstract getWeight(seconds int) : double in class org.opentripplanner.analyst.core.WeightingFunction | From | To | |
Change Parameter Type x : double to seconds : int in method public applyWeight(n double, seconds int) : double in class org.opentripplanner.analyst.core.WeightingFunction | From | To | |
Rename Variable | 1 | ||
Rename Variable minuteBin : int to time : int in method public Histogram(times int[], weight int[]) in class org.opentripplanner.analyst.Histogram | From | To | |
Move Class | 1 | ||
Move Class org.opentripplanner.profile.WeightingFunction moved to org.opentripplanner.analyst.core.WeightingFunction | From | To | |
Rename Attribute | 1 | ||
Rename Attribute x0 : double to cutoff : double in class org.opentripplanner.analyst.core.WeightingFunction.SharpCutoff | From | To | |
Rename Parameter | 5 | ||
Rename Parameter x : double to seconds : int in method public abstract getWeight(seconds int) : double in class org.opentripplanner.analyst.core.WeightingFunction | From | To | |
Rename Parameter weights : int[] to weight : int[] in method public Histogram(times int[], weight int[]) in class org.opentripplanner.analyst.Histogram | From | To | |
Rename Parameter x : double to seconds : int in method public getWeight(seconds int) : double in class org.opentripplanner.analyst.core.WeightingFunction.SharpCutoff | From | To | |
Rename Parameter x : double to seconds : int in method public applyWeight(n double, seconds int) : double in class org.opentripplanner.analyst.core.WeightingFunction | From | To | |
Rename Parameter x0 : double to cutoff : int in method public SharpCutoff(cutoff int) in class org.opentripplanner.analyst.core.WeightingFunction.SharpCutoff | From | To |