265b9b91b695447c1127eff6d1dfc84fac39fba2
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public setQueueSize(queueSize int) : void renamed to private updateMetrics(queueSize int) : void in class aima.core.search.framework.QueueSearch | From | To | |
Move Method | 4 | ||
Move Method public setReplaceFrontierNodeAtStateCostFunction(replaceFrontierNodeAtStateCostFunction Comparator<Node>) : void from class aima.core.search.framework.GraphSearch to public setReplaceFrontierNodeAtStateCostFunction(replaceFrontierNodeAtStateCostFunction Comparator<Node>) : void from class aima.core.search.framework.GraphSearchReducedFrontier | From | To | |
Move Method public popNodeFromFrontier() : Node from class aima.core.search.framework.GraphSearch to public popNodeFromFrontier() : Node from class aima.core.search.framework.GraphSearchReducedFrontier | From | To | |
Move Method public getReplaceFrontierNodeAtStateCostFunction() : Comparator<Node> from class aima.core.search.framework.GraphSearch to public getReplaceFrontierNodeAtStateCostFunction() : Comparator<Node> from class aima.core.search.framework.GraphSearchReducedFrontier | From | To | |
Move Method public removeNodeFromFrontier(toRemove Node) : boolean from class aima.core.search.framework.GraphSearch to public removeNodeFromFrontier(toRemove Node) : boolean from class aima.core.search.framework.GraphSearchReducedFrontier | From | To | |
Rename Variable | 1 | ||
Rename Variable fn : Node to successor : Node in method public search(problem Problem, frontier Queue<Node>) : List<Action> in class aima.core.search.framework.QueueSearch | From | To | |
Move Attribute | 2 | ||
Move Attribute private frontierState : Map<Object,Node> from class aima.core.search.framework.GraphSearch to private frontierState : Map<Object,Node> from class aima.core.search.framework.GraphSearchReducedFrontier | From | To | |
Move Attribute private replaceFrontierNodeAtStateCostFunction : Comparator<Node> from class aima.core.search.framework.GraphSearch to private replaceFrontierNodeAtStateCostFunction : Comparator<Node> from class aima.core.search.framework.GraphSearchReducedFrontier | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable root : Node to node : Node in method protected getSolution(node Node) : List<Action> in class aima.core.search.framework.QueueSearch | From | To | |
Rename Attribute | 2 | ||
Rename Attribute search : QueueSearch to implementation : QueueSearch in class aima.core.search.uninformed.DepthFirstSearch | From | To | |
Rename Attribute search : QueueSearch to implementation : QueueSearch in class aima.core.search.framework.PrioritySearch | From | To | |
Extract Method | 1 | ||
Extract Method protected getSolution(node Node) : List<Action> extracted from public search(problem Problem, frontier Queue<Node>) : List<Action> in class aima.core.search.framework.QueueSearch | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public incrementInt(name String) : void extracted from public expandNode(node Node, problem Problem) : List<Node> in class aima.core.search.framework.NodeExpander & moved to class aima.core.search.framework.Metrics | From | To | |
Rename Parameter | 4 | ||
Rename Parameter search : QueueSearch to impl : QueueSearch in method public BestFirstSearch(impl QueueSearch, ef EvaluationFunction) in class aima.core.search.informed.BestFirstSearch | From | To | |
Rename Parameter search : QueueSearch to impl : QueueSearch in method public GreedyBestFirstSearch(impl QueueSearch, hf HeuristicFunction) in class aima.core.search.informed.GreedyBestFirstSearch | From | To | |
Rename Parameter search : QueueSearch to impl : QueueSearch in method public DepthFirstSearch(impl QueueSearch) in class aima.core.search.uninformed.DepthFirstSearch | From | To | |
Rename Parameter search : QueueSearch to impl : QueueSearch in method public PrioritySearch(impl QueueSearch, comparator Comparator<Node>) in class aima.core.search.framework.PrioritySearch | From | To |