COOPY » Guide
version 0.6.5
|
#include <coopy/OrderMerge.h>
#include <coopy/Dbg.h>
#include <coopy/Viterbi.h>
#include <coopy/EfficientMap.h>
#include <list>
#include <map>
Go to the source code of this file.
Functions | |
static bool | summarize (int prev, int curr, int next) |
static void | evaluate (const OrderResult &order_local, const OrderResult &order_remote, int lCol, int rCol, int lastWasL, float &lCost, float &rCost) |
static int | safe_next (const efficient_map< int, int > &m, int val, int def) |
static int | next_avail (const set< int > &s, int val) |
static void evaluate | ( | const OrderResult & | order_local, |
const OrderResult & | order_remote, | ||
int | lCol, | ||
int | rCol, | ||
int | lastWasL, | ||
float & | lCost, | ||
float & | rCost | ||
) | [static] |
Definition at line 329 of file OrderMerge.cpp.
References coopy::cmp::OrderResult::a2b(), coopy::cmp::OrderResult::b2a(), and summarize().
static int next_avail | ( | const set< int > & | s, |
int | val | ||
) | [static] |
Definition at line 374 of file OrderMerge.cpp.
Referenced by coopy::cmp::OrderMerge::merge().
static int safe_next | ( | const efficient_map< int, int > & | m, |
int | val, | ||
int | def | ||
) | [static] |
Definition at line 368 of file OrderMerge.cpp.
Referenced by coopy::cmp::OrderMerge::merge().
static bool summarize | ( | int | prev, |
int | curr, | ||
int | next | ||
) | [static] |
Definition at line 99 of file OrderMerge.cpp.
Referenced by evaluate().