Calculate difference between two vectors.
More...
#include <diff3.hpp>
|
| | lcsdiff_t (const T &_x, const T &_y, size_t _n, size_t _m) |
| | prepare LCS table
|
| void | diff () |
| | get a difference between two vectors RESULT will contain only TDLA_EQ, TDLA_ADD, TDLA_SUB actions
|
|
| const T & | x |
| | left argument
|
| const T & | y |
| | right argument
|
| const size_t | n = 0 |
| | left argument size
|
| const size_t | m = 0 |
| | right argument size
|
| sizevec_t | lcs_table |
| | table to store LCS for each step of the calculation
|
template<class T>
class lcsdiff_t< T >
Calculate difference between two vectors.
Use Longest Common Subsequences (LCS) approach: https://en.wikipedia.org/wiki/Longest_common_subsequence_problem
◆ result_t
◆ lcsdiff_t()
◆ diff()
get a difference between two vectors RESULT will contain only TDLA_EQ, TDLA_ADD, TDLA_SUB actions
◆ lcs_table
table to store LCS for each step of the calculation
◆ result
The documentation for this class was generated from the following file: