dtl::Diff< elem, sequence > Class Template Reference
#include <dtl.hpp>
List of all members.
Detailed Description
template<typename elem, typename sequence>
class dtl::Diff< elem, sequence >
diff template class sequence must support random_access_iterator.
Definition at line 257 of file dtl.hpp.
Member Typedef Documentation
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
Constructor & Destructor Documentation
template<typename elem , typename sequence >
dtl::Diff< elem, sequence >::Diff |
( |
sequence & |
a, |
|
|
sequence & |
b | |
|
) |
| | [inline] |
template<typename elem , typename sequence >
Member Function Documentation
template<typename elem , typename sequence >
void dtl::Diff< elem, sequence >::compose |
( |
|
) |
[inline] |
compose Longest Common Subsequence and Shortest Edit Script. The algorithm implemented here is based on "An O(NP) Sequence Comparison Algorithm" by described by Sun Wu, Udi Manber and Gene Myers
Definition at line 425 of file dtl.hpp.
template<typename elem , typename sequence >
void dtl::Diff< elem, sequence >::composeUnifiedHunks |
( |
|
) |
[inline] |
compose Unified Format Hunks from Shortest Edit Script
Definition at line 483 of file dtl.hpp.
template<typename elem , typename sequence >
int dtl::Diff< elem, sequence >::getEditDistance |
( |
|
) |
const [inline] |
template<typename elem , typename sequence >
Lcs<elem> dtl::Diff< elem, sequence >::getLcs |
( |
|
) |
const [inline] |
template<typename elem , typename sequence >
Ses<elem> dtl::Diff< elem, sequence >::getSes |
( |
|
) |
const [inline] |
template<typename elem , typename sequence >
template<typename elem , typename sequence >
void dtl::Diff< elem, sequence >::init |
( |
|
) |
[inline, private] |
template<typename elem , typename sequence >
bool dtl::Diff< elem, sequence >::isHuge |
( |
|
) |
const [inline] |
template<typename elem , typename sequence >
bool dtl::Diff< elem, sequence >::isReverse |
( |
|
) |
const [inline] |
template<typename elem , typename sequence >
bool dtl::Diff< elem, sequence >::isUnserious |
( |
|
) |
const [inline] |
template<typename elem , typename sequence >
template<typename elem , typename sequence >
void dtl::Diff< elem, sequence >::offHuge |
( |
|
) |
[inline] |
template<typename elem , typename sequence >
void dtl::Diff< elem, sequence >::offUnserious |
( |
|
) |
[inline] |
template<typename elem , typename sequence >
void dtl::Diff< elem, sequence >::onHuge |
( |
|
) |
[inline] |
template<typename elem , typename sequence >
void dtl::Diff< elem, sequence >::onOnlyEditDistance |
( |
|
) |
[inline] |
template<typename elem , typename sequence >
void dtl::Diff< elem, sequence >::onUnserious |
( |
|
) |
[inline] |
template<typename elem , typename sequence >
sequence dtl::Diff< elem, sequence >::patch |
( |
sequence |
seq |
) |
const [inline] |
patching with Shortest Edit Script
Definition at line 395 of file dtl.hpp.
template<typename elem , typename sequence >
void dtl::Diff< elem, sequence >::printUnifiedFormat |
( |
|
) |
[inline] |
print difference between A and B with the format such as Unified Format.
Definition at line 476 of file dtl.hpp.
template<typename elem , typename sequence >
void dtl::Diff< elem, sequence >::recordOddSequence |
( |
int |
idx, |
|
|
int |
length, |
|
|
typename sequence::const_iterator |
it, |
|
|
const editType |
et | |
|
) |
| | [inline, private] |
template<typename elem , typename sequence >
template<typename elem , typename sequence >
int dtl::Diff< elem, sequence >::snake |
( |
int |
k, |
|
|
int |
above, |
|
|
int |
below | |
|
) |
| | [inline, private] |
template<typename elem , typename sequence >
sequence dtl::Diff< elem, sequence >::uniPatch |
( |
sequence |
seq |
) |
[inline] |
patching with Unified Format Hunks
Definition at line 339 of file dtl.hpp.
Member Data Documentation
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
The documentation for this class was generated from the following file: