00001 #ifndef _Clusterizer1D_H_ 00002 #define _Clusterizer1D_H_ 00003 00004 #include "CommonTools/Clustering1D/interface/Cluster1D.h" 00005 00006 #include <vector> 00007 #include <utility> 00008 00015 template < class T > 00016 class Clusterizer1D 00017 { 00018 public: 00019 virtual ~Clusterizer1D() 00020 {} 00021 ; 00022 virtual std::pair< std::vector< Cluster1D<T> >, std::vector< const T * > > operator () 00023 ( const std::vector< Cluster1D<T> > & ) const = 0; 00024 00025 virtual Clusterizer1D * clone() const = 0; 00026 }; 00027 00028 #endif