RapidLib  v2.2.0
A simple library for interactive machine learning
warpPath.h
Go to the documentation of this file.
1 
9 #ifndef WARPPATH_H
10 #define WARPPATH_H
11 
12 #include <vector>
13 
15 class warpPath
16 {
17 public:
18  warpPath();
19  ~warpPath();
20 
25  void add(std::size_t x, std::size_t y);
26 
27  std::vector< std::pair<std::size_t, std::size_t> > indices;
28 };
29 
31 template<typename T>
32 struct warpInfo
33 {
34 public:
36  T cost;
37 
38 };
39 
40 #endif
Definition: warpPath.h:16
void add(std::size_t x, std::size_t y)
Definition: warpPath.cpp:15
std::vector< std::pair< std::size_t, std::size_t > > indices
Definition: warpPath.h:27
warpPath()
Definition: warpPath.cpp:12
~warpPath()
Definition: warpPath.cpp:13
Definition: warpPath.h:33
warpPath path
Definition: warpPath.h:35
T cost
Definition: warpPath.h:36