RideDistributor  0.0.1
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
Macros
RLAPSolverJV.cpp File Reference
#include <algorithm>
#include <functional>
#include "RLAPSolverJV.hpp"
#include <iostream>

Macros

#define DBG_PRINT_JV_SOL(type, sol)
 
#define DBG_PRINT_JV_COSTMAT(v)
 
#define MAX_DIM(m)   std::max(m.getDims()[0], m.getDims()[1])
 

Macro Definition Documentation

#define DBG_PRINT_JV_COSTMAT (   v)
Value:
std::cout << "Costmat" << std::endl; \
for (unsigned i = 0; i < costMat.size(); i++) { \
for (unsigned j = 0; j < costMat[i].size(); j++) { \
std::cout << costMat[i][j] << '\t'; \
} \
std::cout << std::endl; \
} \
std::cout << std::endl

Prints contents of a costmat of RLAPSolverJV

#define DBG_PRINT_JV_SOL (   type,
  sol 
)
Value:
std::cout << type << std::endl; \
for (const auto& i : sol) \
std::cout << i << ' '; \
std::cout << std::endl

Prints contents of a row- or colsol of RLAPSolverJV

#define MAX_DIM (   m)    std::max(m.getDims()[0], m.getDims()[1])

Used to determine the solver size needed internally