COOPY » Guide
version 0.6.5
|
#include <OrderMerge.h>
Public Member Functions | |
void | process (int ilocal, int iremote, int &base_local, int &base_remote, int stop_local, int stop_remote) |
void | merge (const OrderResult &nlocal, const OrderResult &nremote, const CompareFlags &flags, bool columnar) |
void | merge_by_id (const OrderResult &nlocal, const OrderResult &nremote, const CompareFlags &flags) |
Data Fields | |
OrderResult | order_local |
OrderResult | order_remote |
std::list< MatchUnit > | accum |
int | overlap |
coopy::store::IntSheet | xlocal |
coopy::store::IntSheet | xremote |
int | start_local |
int | start_remote |
CompareFlags | flags |
Definition at line 18 of file OrderMerge.h.
void OrderMerge::merge | ( | const OrderResult & | nlocal, |
const OrderResult & | nremote, | ||
const CompareFlags & | flags, | ||
bool | columnar | ||
) |
Definition at line 382 of file OrderMerge.cpp.
References coopy::cmp::Viterbi::addTransition(), coopy::cmp::Viterbi::beginTransitions(), dbg_printf, coopy::cmp::MatchUnit::deleted, coopy::cmp::Viterbi::endTransitions(), coopy::cmp::Viterbi::getPath(), coopy::cmp::CompareFlags::head_trimmed, coopy::cmp::Viterbi::length(), coopy::cmp::MatchUnit::localUnit, next_avail(), coopy::cmp::MatchUnit::pivotUnit, coopy::cmp::MatchUnit::remoteUnit, safe_next(), coopy::cmp::Viterbi::setSize(), coopy::cmp::CompareFlags::tail_trimmed, coopy::cmp::OrderResult::trimHead(), and coopy::cmp::CompareFlags::use_order.
void OrderMerge::merge_by_id | ( | const OrderResult & | nlocal, |
const OrderResult & | nremote, | ||
const CompareFlags & | flags | ||
) |
Definition at line 692 of file OrderMerge.cpp.
void OrderMerge::process | ( | int | ilocal, |
int | iremote, | ||
int & | base_local, | ||
int & | base_remote, | ||
int | stop_local, | ||
int | stop_remote | ||
) |
Definition at line 20 of file OrderMerge.cpp.
References dbg_printf, coopy::cmp::MATCH_UNIT_DELETE, coopy::cmp::MATCH_UNIT_INSERT, and coopy::cmp::MATCH_UNIT_PRESERVE.
std::list<MatchUnit> coopy::cmp::OrderMerge::accum |
Definition at line 21 of file OrderMerge.h.
Definition at line 26 of file OrderMerge.h.
Definition at line 20 of file OrderMerge.h.
Definition at line 20 of file OrderMerge.h.
Definition at line 22 of file OrderMerge.h.
Definition at line 24 of file OrderMerge.h.
Definition at line 25 of file OrderMerge.h.
Definition at line 23 of file OrderMerge.h.
Definition at line 23 of file OrderMerge.h.