|
Go to the documentation of this file. 1 #ifndef NPSTAT_MEMOIZINGSYMBETAFILTERPROVIDER_HH_
2 #define NPSTAT_MEMOIZINGSYMBETAFILTERPROVIDER_HH_
20 #include "geners/ClassId.hh"
34 int symbetaPower, double bandwidth, double degree,
35 unsigned nbins, double binwidth,
37 unsigned excludedBin, bool excludeCentralPoint);
39 inline unsigned long nMemoized() const { return filterMap_.size();}
41 void firstMemoizedInfo( int* symbetaPower, double* bandwidth,
42 double* degree, unsigned* nbins,
44 unsigned* excludedBin,
45 bool* excludeCentralPoint) const;
47 std::vector<double> knownBandwidthValues() const;
51 { return !(* this == r);}
54 inline gs::ClassId classId() const { return gs::ClassId(* this);}
55 bool write(std::ostream& of) const;
58 static inline const char* classname()
59 { return "npstat::MemoizingSymbetaFilterProvider";}
60 static inline unsigned version() { return 3;}
61 static void restore( const gs::ClassId& id, std::istream& in,
62 MemoizingSymbetaFilterProvider* ptr);
64 typedef CPP11_shared_ptr<const LocalPolyFilter1D> FilterPtr;
65 typedef std::map<AllSymbetaParams1D, FilterPtr> FilterMap;
Interface definition for classes which build symmetric beta LOrPE filters.
Complete set of parameters for building 1-d filters from the symmetric beta family.
virtual void startMemoizing() Definition: AbsSymbetaFilterProvider.hh:70
Definition: BoundaryHandling.hh:21
Definition: MemoizingSymbetaFilterProvider.hh:27
virtual CPP11_shared_ptr< const LocalPolyFilter1D > provideFilter(int symbetaPower, double bandwidth, double degree, unsigned nbins, double binwidth, const BoundaryHandling &bm, unsigned excludedBin, bool excludeCentralPoint)
Definition: AbsSymbetaFilterProvider.hh:84
Definition: AbsArrayProjector.hh:14
|