COOPY » Guide  version 0.6.5
Functions
/home/paulfitz/cvs/coopy_scm/coopy/src/libcoopy_core/OrderMerge.cpp File Reference
#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)

Function Documentation

static void evaluate ( const OrderResult order_local,
const OrderResult order_remote,
int  lCol,
int  rCol,
int  lastWasL,
float &  lCost,
float &  rCost 
) [static]
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().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines