72638883b2e1668f3f8c9f1a0c55ce5a54775950
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method private createTypicalCave() : WumpusCave renamed to private create4x4Cave() : WumpusCave in class aima.gui.demo.agent.WumpusAgentDemo | From | To | |
| Rename Method private toggleRoomContent(col int, row int) : void renamed to protected onEdit(x int, y int) : void in class aima.gui.fx.views.WumpusEnvironmentViewCtrl | From | To | |
| Pull Up Method | 4 | ||
| Pull Up Method public agentActed(agent Agent, percept Percept, action Action, source Environment) : void from class aima.gui.fx.views.WumpusEnvironmentViewCtrl to public agentActed(agent Agent, percept Percept, action Action, source Environment) : void from class aima.gui.fx.views.AbstractGridEnvironmentViewCtrl | From | To | |
| Pull Up Method public initialize(env Environment) : void from class aima.gui.fx.views.WumpusEnvironmentViewCtrl to public initialize(env Environment) : void from class aima.gui.fx.views.AbstractGridEnvironmentViewCtrl | From | To | |
| Pull Up Method protected updateEnvStateView(env Environment) : void from class aima.gui.fx.views.VacuumEnvironmentViewCtrl to protected updateEnvStateView(env Environment) : void from class aima.gui.fx.views.AbstractGridEnvironmentViewCtrl | From | To | |
| Pull Up Method public updateEnvStateView(env Environment) : void from class aima.gui.fx.views.WumpusEnvironmentViewCtrl to protected updateEnvStateView(env Environment) : void from class aima.gui.fx.views.AbstractGridEnvironmentViewCtrl | From | To | |
| Move And Rename Method | 1 | ||
| Move And Rename Method package setAgentMarker(color Color, orientation AgentPosition.Orientation) : void from class aima.gui.fx.views.WumpusEnvironmentViewCtrl.RoomButton to private addAgentMarker(pane Pane, color Color, orientation AgentPosition.Orientation) : void from class aima.gui.fx.views.WumpusEnvironmentViewCtrl | From | To | |
| Rename Variable | 3 | ||
| Rename Variable col : int to x : int in method protected update() : void in class aima.gui.fx.views.WumpusEnvironmentViewCtrl | From | To | |
| Rename Variable r : int to wEnv : WumpusEnvironment in method protected update() : void in class aima.gui.fx.views.WumpusEnvironmentViewCtrl | From | To | |
| Rename Variable row : int to y : int in method protected update() : void in class aima.gui.fx.views.WumpusEnvironmentViewCtrl | From | To | |
| Pull Up Attribute | 3 | ||
| Pull Up Attribute private isEditingEnabled : boolean from class aima.gui.fx.views.WumpusEnvironmentViewCtrl to protected isEditingEnabled : boolean from class aima.gui.fx.views.AbstractGridEnvironmentViewCtrl | From | To | |
| Pull Up Attribute private actionLabel : Label from class aima.gui.fx.views.WumpusEnvironmentViewCtrl to protected actionLabel : Label from class aima.gui.fx.views.AbstractGridEnvironmentViewCtrl | From | To | |
| Pull Up Attribute private gridPane : GridPane from class aima.gui.fx.views.WumpusEnvironmentViewCtrl to private gridPane : GridPane from class aima.gui.fx.views.AbstractGridEnvironmentViewCtrl | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass aima.gui.fx.views.AbstractGridEnvironmentViewCtrl from classes [aima.gui.fx.views.VacuumEnvironmentViewCtrl, aima.gui.fx.views.WumpusEnvironmentViewCtrl] | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type btn : RoomButton to btn : SquareButton in method protected update() : void in class aima.gui.fx.views.WumpusEnvironmentViewCtrl | From | To | |
| Change Variable Type r : int to wEnv : WumpusEnvironment in method protected update() : void in class aima.gui.fx.views.WumpusEnvironmentViewCtrl | From | To | |
| Split Attribute | 1 | ||
| Split Attribute envStateView : GridPane to [agentsInSuckState : Set<Agent>, agentOrientations : Map<Agent,Integer>] in class aima.gui.fx.views.VacuumEnvironmentViewCtrl | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter row : int to y : int in method protected onEdit(x int, y int) : void in class aima.gui.fx.views.WumpusEnvironmentViewCtrl | From | To | |
| Rename Parameter col : int to x : int in method protected onEdit(x int, y int) : void in class aima.gui.fx.views.WumpusEnvironmentViewCtrl | From | To |