RapidLib  v2.1.0
A simple library for interactive machine learning
searchWindow.h
Go to the documentation of this file.
1 
9 #ifndef searchWindow_h
10 #define searchWindow_h
11 
12 #include <vector>
13 #include "warpPath.h"
14 
18 template<typename T>
19 class searchWindow {
20 public:
21  searchWindow(const int seriesXSize,
22  const int seriesYSize,
23  const warpPath &shrunkenWarpPath,
24  const int searchRadius);
25 
26  std::vector< std::pair<int, int> > minMaxValues;
27 
28 private:
29  int maxY;
30  void markVisited(int col, int row);
31  void expandWindow(int searchRadius);
32 };
33 
34 #endif /* searchWindow_h */
Definition: warpPath.h:15
searchWindow(const int seriesXSize, const int seriesYSize, const warpPath &shrunkenWarpPath, const int searchRadius)
Definition: searchWindow.cpp:12
Definition: searchWindow.h:19
std::vector< std::pair< int, int > > minMaxValues
Definition: searchWindow.h:26