23 #ifndef AlpsSearchStrategyBase_h_ 
   24 #define AlpsSearchStrategyBase_h_ 
   45 class AlpsSearchStrategy
 
   59     virtual ~AlpsSearchStrategy() {}
 
   66     virtual bool compare(T x, T y) = 0;
 
   68     bool operator() (T x, T y) {
 
   76     inline double getWeight()
 const { 
return weight_; }
 
   77     inline void setWeight(
double nw) { weight_ = nw; }
 
   94     int getType(){ 
return type_; }
 
   97     void setType(
int t) { type_ = t; }
 
  107     AlpsSearchStrategy<T>* strategy_;
 
  111     AlpsCompare () : strategy_(0) {}
 
  112     virtual ~AlpsCompare() {}
 
  114     void setComareBase(AlpsSearchStrategy<T>* c) { 
 
  118     bool operator() (T x, T y) {
 
  119         return strategy_->compare(x, y);
 
This class contains the data pertaining to a particular subtree in the search tree. 
 
This class holds one node of the search tree.