00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef _CNRP_DG_FUNCTIONS_H
00017 #define _CNRP_DG_FUNCTIONS_H
00018
00019
00020 #include "sym_proto.h"
00021
00022
00023 #include "cnrp_common_types.h"
00024
00025 void init_window PROTO((int dg_id, char *name, int width, int height));
00026 void wait_for_click PROTO((int dg_id, char *name, int report));
00027 void display_graph PROTO((int dg_id, char *name));
00028 void copy_node_set PROTO((int dg_id, int clone, char *name));
00029 void disp_vrp_tour PROTO((int dg_id, int clone, char *name,
00030 _node *tour, int vertnum, int numroutes,int report));
00031 void draw_edge_set_from_edge_data PROTO((int dg_id, char *name,
00032 int edgenum, edge_data *edges));
00033 void draw_edge_set_from_userind PROTO((int dg_id, char *name,
00034 int edgenum, int *userind));
00035 void draw_weighted_edge_set PROTO((int dg_id, char *name,
00036 int edgenum, int *userind,
00037 double *value, double etol));
00038 void display_support_graph PROTO((int dg_id, int clone, char *name,
00039 int edgenum, int *userind,
00040 double *value, double etol,
00041 int total_edgenum, int report));
00042 void display_support_graph_flow PROTO((int dg_id, int clone, char *name,
00043 int edgenum, int flow_start, int *userind,
00044 double *value, double etol, int total_edgenum,
00045 int report));
00046 void display_compressed_support_graph PROTO((int dg_id, int clone, char *name,
00047 int edgenum, int *userind,
00048 double *value, int report));
00049 void display_part_tour PROTO((int dg_id, int clone, char *name, int *tour,
00050 int numroutes, int report));
00051 void delete_graph PROTO((int dg_id, char *name));
00052 void disp_lb PROTO((int dg_id, int clone, char *name, int *tree,
00053 struct DBL_EDGE_DATA *best_edges, int vertnum,
00054 int numroutes, int report));
00055 #endif