RapidLib  v2.2.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>
20 {
21 public:
22  searchWindow(const std::size_t seriesXSize,
23  const std::size_t seriesYSize,
24  const warpPath &shrunkenWarpPath,
25  const int searchRadius);
26 
27  std::vector< std::pair<std::size_t, std::size_t> > minMaxValues;
28 
29 private:
30  std::size_t maxY;
31  inline void markVisited(std::size_t col, std::size_t row);
32  void expandWindow(int searchRadius);
33 };
34 
35 #endif
Definition: searchWindow.h:20
std::vector< std::pair< std::size_t, std::size_t > > minMaxValues
Definition: searchWindow.h:27
searchWindow(const std::size_t seriesXSize, const std::size_t seriesYSize, const warpPath &shrunkenWarpPath, const int searchRadius)
Definition: searchWindow.cpp:14
Definition: warpPath.h:16