89a722ca16c4f6d10c86ce5be7b4d00ab4ac83dc
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 3 | ||
Move Method public clearInstrumentation() : void from class aima.core.search.framework.NodeExpander to public clearInstrumentation() : void from class aima.core.search.local.HillClimbingSearch | From | To | |
Move Method public expandNode(node Node, problem Problem) : List<Node> from class aima.core.search.framework.NodeExpander to public expandNode(node Node, problem Problem) : List<Node> from class aima.core.search.framework.SearchUtils | From | To | |
Move Method public getMetrics() : Metrics from class aima.core.search.framework.NodeExpander to public getMetrics() : Metrics from class aima.core.search.framework.qsearch.QueueSearch | From | To | |
Inline Method | 3 | ||
Inline Method public isCheckGoalBeforeAddingToFrontier() : boolean inlined to public search(problem Problem, frontier Queue<Node>) : List<Action> in class aima.core.search.framework.qsearch.QueueSearch | From | To | |
Inline Method public setPathCost(pathCost Double) : void inlined to private recursiveDLS(node Node, problem Problem, limit int) : List<Action> in class aima.core.search.uninformed.DepthLimitedSearch | From | To | |
Inline Method public setPathCost(pathCost Double) : void inlined to public search(p Problem) : List<Action> in class aima.core.search.informed.RecursiveBestFirstSearch | From | To | |
Move Attribute | 3 | ||
Move Attribute protected metrics : Metrics from class aima.core.search.framework.NodeExpander to protected metrics : Metrics from class aima.core.search.framework.qsearch.QueueSearch | From | To | |
Move Attribute public METRIC_NODES_EXPANDED : String from class aima.core.search.framework.NodeExpander to public METRIC_NODES_EXPANDED : String from class aima.core.search.local.HillClimbingSearch | From | To | |
Move Attribute protected metrics : Metrics from class aima.core.search.framework.NodeExpander to private metrics : Metrics from class aima.core.search.local.HillClimbingSearch | From | To | |
Rename Attribute | 5 | ||
Rename Attribute iterationMetrics : Metrics to metrics : Metrics in class aima.core.search.uninformed.IterativeDeepeningSearch | From | To | |
Rename Attribute PATH_COST : String to METRIC_PATH_COST : String in class aima.core.search.uninformed.DepthLimitedSearch | From | To | |
Rename Attribute MAX_RECURSIVE_DEPTH : String to METRIC_MAX_RECURSIVE_DEPTH : String in class aima.core.search.informed.RecursiveBestFirstSearch | From | To | |
Rename Attribute PATH_COST : String to METRIC_PATH_COST : String in class aima.core.search.informed.RecursiveBestFirstSearch | From | To | |
Rename Attribute PATH_COST : String to METRIC_PATH_COST : String in class aima.core.search.uninformed.IterativeDeepeningSearch | From | To | |
Extract Method | 2 | ||
Extract Method public clearInstrumentation() : void extracted from public search(p Problem) : List<Action> in class aima.core.search.uninformed.IterativeDeepeningSearch | From | To | |
Extract Method private updateMetrics(dlsMetrics Metrics) : void extracted from public search(p Problem) : List<Action> in class aima.core.search.uninformed.IterativeDeepeningSearch | From | To |