#include "sym_proto.h"Include dependency graph for cnrp_macros.h:

Go to the source code of this file.
Defines | |
| #define | CHECK_DEBUG_PAR(x, y) |
| #define | READ_FLOAT_PAR(par) |
Functions | |
| void BOTH_ENDS | PROTO ((int index, int *vh, int *vl)) |
| int NEAREST_INT | PROTO ((double num)) |
| int INDEX | PROTO ((int v0, int v1)) |
| int BINS | PROTO ((double weight, double capacity)) |
| int RHS | PROTO ((int cust_num, double weight, double capacity)) |
| #define CHECK_DEBUG_PAR | ( | x, | |||
| y | ) |
Value:
if (x != 0 && x != 4) { \ (void) fprintf(stderr, "\nio: illegal debug parameter %s\n\n", y); \ exit(1); \ }
Definition at line 22 of file cnrp_macros.h.
| #define READ_FLOAT_PAR | ( | par | ) |
Value:
if (sscanf(value, "%f", &(par)) != 1){ \ (void) fprintf(stderr, "\nio: error reading parameter %s\n\n", key); \ exit(1); \ }
Definition at line 28 of file cnrp_macros.h.
| void BOTH_ENDS PROTO | ( | (int index, int *vh, int *vl) | ) |
| int NEAREST_INT PROTO | ( | (double num) | ) |
| int INDEX PROTO | ( | (int v0, int v1) | ) |
| int BINS PROTO | ( | (double weight, double capacity) | ) |
| int RHS PROTO | ( | (int cust_num, double weight, double capacity) | ) |
1.4.7