1 #ifndef FAIF_UNIFIED_COST_SEARCH_HPP 2 #define FAIF_UNIFIED_COST_SEARCH_HPP 8 #include <boost/bind.hpp> 9 #include <boost/function.hpp> 10 #include <boost/concept_check.hpp> 12 #include "TreeNodeImpl.hpp" 44 std::priority_queue<TreeNode<T>*, std::deque<TreeNode<T>*>,
compareWeight<T> > buffer;
51 while (!buffer.empty()) {
83 #endif //FAIF_UNIFIED_COST_SEARCH_HPP the comparizon used by searchUnifiedCost
Definition: UnifiedCost.h:19
the concept for node with children
Definition: Node.hpp:44
boost::shared_ptr< T > getPoint() const
Definition: TreeNodeImpl.hpp:45
the struct to create node in search space from individual
Definition: Node.hpp:26
the template to create the node in tree-based search methods
Definition: TreeNodeImpl.hpp:17
the concept for node with final flag for search in tree-like structures The function 'searchDepthFirs...
Definition: Node.hpp:60
Children getChildrenWithWeight()
Definition: TreeNodeImpl.hpp:111
Node< T >::Path generatePathToRoot() const
Definition: TreeNodeImpl.hpp:135
double getWeight() const
Definition: TreeNodeImpl.hpp:58
Node< T >::Path searchUnifiedCost(boost::shared_ptr< T > start, int max=200)
uniform-cost search algorithm (informed search)
Definition: UnifiedCost.h:36
short getLevel() const
Definition: TreeNodeImpl.hpp:61
bool checkNodeInPath(const TreeNode< T > &n)
Definition: TreeNodeImpl.hpp:82
the concept for informed search algorithms, it check the presence of 'getWeight' method, used by informed search functions e.g. 'searchUniformCost'
Definition: Node.hpp:73