/home/coin/svn-release/OptimizationSuite-1.1.0/SYMPHONY/Applications/VRP/include/network.h File Reference
#include "sym_proto.h"
#include "vrp_const.h"
Go to the source code of this file.
Classes |
struct | EDGE |
struct | ELIST |
struct | VERTEX |
struct | NETWORK |
Defines |
#define | NOT_INTEGRAL -1 |
#define | OTHER_END(cur_edge, v) (cur_edge->data->v0 == v) ? cur_edge->data->v1 : cur_edge->data->v0 |
Typedefs |
typedef struct EDGE | edge |
typedef struct ELIST | elist |
typedef struct VERTEX | vertex |
typedef struct NETWORK | network |
Functions |
network *createnet | PROTO ((int *xind, double *xval, int edgenum, double etol, int *edges, int *demands, int vertnum)) |
int connected | PROTO ((network *n, int *compnodes, int *compdemands, int *compmembers, double *compcuts, double *compdensity)) |
void free_net | PROTO ((network *n)) |
Define Documentation
#define OTHER_END |
( |
cur_edge, |
|
|
v |
|
) |
(cur_edge->data->v0 == v) ? cur_edge->data->v1 : cur_edge->data->v0 |
Typedef Documentation
Function Documentation
network* createnet PROTO |
( |
(int *xind, double *xval, int edgenum, double etol, int *edges, int *demands, int vertnum) |
|
) |
|
int connected PROTO |
( |
(network *n, int *compnodes, int *compdemands, int *compmembers, double *compcuts, double *compdensity) |
|
) |
|
void free_net PROTO |
( |
(network *n) |
|
) |
|