5c59c7130587249bf6dad1921d9a7147f864bba6
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method protected displayParticles() : void renamed to protected displaySamples(samples Set<P>) : void in class aima.gui.swing.demo.robotics.GenericMonteCarloLocalization2DApp.MclGui | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public setParticleCount(particleCount int) : void moved from class aima.core.robotics.impl.MonteCarloLocalization to class aima.gui.swing.demo.robotics.GenericMonteCarloLocalization2DApp.MclCore & inlined to private updateCloudSize(size int) : void | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type robot : IMclRobot<V,M,R> to randomizer : Randomizer in method public MonteCarloLocalization(map IMclMap<P,V,M,R>, randomizer Randomizer) in class aima.core.robotics.impl.MonteCarloLocalization | From | To | |
Rename Variable | 1 | ||
Rename Variable p : Particle<P,Angle,M> to sample : P in method public paint(gra Graphics) : void in class aima.gui.swing.demo.robotics.GenericMonteCarloLocalization2DApp.MclGui.MapDrawer | From | To | |
Inline Method | 1 | ||
Inline Method private waitGui() : void inlined to public run() : void in class aima.gui.swing.demo.robotics.GenericMonteCarloLocalization2DApp.MclCore | From | To | |
Rename Attribute | 3 | ||
Rename Attribute particles : ArrayList<Particle<P,Angle,M>> to samples : Set<P> in class aima.gui.swing.demo.robotics.GenericMonteCarloLocalization2DApp.MclGui.MapDrawer | From | To | |
Rename Attribute robot : IMclRobot<V,M,R> to randomizer : Randomizer in class aima.core.robotics.impl.MonteCarloLocalization | From | To | |
Rename Attribute runMove : Runnable to runStep : Runnable in class aima.gui.swing.demo.robotics.GenericMonteCarloLocalization2DApp.MclGui | From | To | |
Change Variable Type | 1 | ||
Change Variable Type p : Particle<P,Angle,M> to sample : P in method public paint(gra Graphics) : void in class aima.gui.swing.demo.robotics.GenericMonteCarloLocalization2DApp.MclGui.MapDrawer | From | To | |
Extract Method | 1 | ||
Extract Method private step() : void extracted from public run() : void in class aima.gui.swing.demo.robotics.GenericMonteCarloLocalization2DApp.MclCore | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type robot : IMclRobot<V,M,R> to randomizer : Randomizer in class aima.core.robotics.impl.MonteCarloLocalization | From | To | |
Change Attribute Type particles : ArrayList<Particle<P,Angle,M>> to samples : Set<P> in class aima.gui.swing.demo.robotics.GenericMonteCarloLocalization2DApp.MclGui.MapDrawer | From | To | |
Rename Parameter | 1 | ||
Rename Parameter robot : IMclRobot<V,M,R> to randomizer : Randomizer in method public MonteCarloLocalization(map IMclMap<P,V,M,R>, randomizer Randomizer) in class aima.core.robotics.impl.MonteCarloLocalization | From | To |