CMMTree v1.0
predicates.hpp
Go to the documentation of this file.
1#ifndef _predicates_hpp_
2#define _predicates_hpp_
3//---------------------------------------------
4#include "node.hpp"
5
19template <class X1 >
21 bool operator() ( node<X1>const* const& , typename std::vector<X1>::const_iterator const& ) const {
22 /*
23 Write your own rules for attaching nodes.
24 At least one of them must return true.
25 */
26 return false ;
27 }
28 };
29
30//---------------------------------------------
31#endif
The node class definition. This is a template of a class whose objects are used to build a tree of re...
Definition node.hpp:45
Predicate class template.
bool operator()(node< X1 >const *const &, typename std::vector< X1 >::const_iterator const &) const