Dip  0.92.4
Classes | Macros | Typedefs | Functions
network.h File Reference
#include "sym_proto.h"
#include "cnrp_const.h"
Include dependency graph for network.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EDGE
 
struct  ELIST
 
struct  VERTEX
 
struct  NETWORK
 

Macros

#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 *create_net PROTO ((int *xind, double *xval, int edgenum, double etol, int *edges, double *demands, int vertnum))
 
int connected PROTO ((network *n, int *compnodes, double *compdemands, int *compmembers, double *compcuts, double *compdensity))
 
int flow_connected PROTO ((network *n, int *compnodes, double *compdemands, int *compmembers, double *compcuts, double *compdensity, double etol))
 
void free_net PROTO ((network *n))
 

Macro Definition Documentation

#define NOT_INTEGRAL   -1

Definition at line 25 of file network.h.

#define OTHER_END (   cur_edge,
 
)    (cur_edge->data->v0 == v) ? cur_edge->data->v1 : cur_edge->data->v0

Definition at line 26 of file network.h.

Typedef Documentation

typedef struct EDGE edge
typedef struct ELIST elist
typedef struct VERTEX vertex
typedef struct NETWORK network

Function Documentation

network *create_flow_net PROTO ( (int *xind, double *xval, int edgenum, double etol, int *edges, double *demands, int vertnum)  )
int connected PROTO ( (network *n, int *compnodes, double *compdemands, int *compmembers, double *compcuts, double *compdensity)  )
int flow_connected PROTO ( (network *n, int *compnodes, double *compdemands, int *compmembers, double *compcuts, double *compdensity, double etol)  )
void free_net PROTO ( (network *n)  )