Dip  0.92.4
Macros | Functions
vrp_macros.h File Reference
#include "sym_proto.h"
Include dependency graph for vrp_macros.h:

Go to the source code of this file.

Macros

#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 ((int weight, int capacity))
 
int RHS PROTO ((int cust_num, int weight, int capacity))
 

Macro Definition Documentation

#define CHECK_DEBUG_PAR (   x,
 
)
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 vrp_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 vrp_macros.h.

Function Documentation

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 ( (int weight, int capacity)  )
int RHS PROTO ( (int cust_num, int weight, int capacity)  )