Sorting/Longs/dot.h

Go to the documentation of this file.
00001 
00013 #define GRAY  1
00014 
00016 #define BLACK 2
00017 
00022 typedef struct df {
00024   int id;   
00025 
00027   int type;
00028 
00030   struct df   *next;
00031 } DOT_FORMAT, *DOT_FORMAT_PTR;
00032 
00033 
00035 void dot_header(char *s);
00036 
00038 void dot_trailer();
00039 
00041 void dot_release (DOT_FORMAT_PTR df);
00042 
00044 DOT_FORMAT_PTR dot_format_type(int id, int type);
00045 
00047 DOT_FORMAT_PTR dot_format_list();
00048 
00050 int dot_format_td (int i, DOT_FORMAT_PTR fp);
00051 
00053 int dot_format_font (int i, DOT_FORMAT_PTR fp);
00054 
00056 void dot_add_format (DOT_FORMAT_PTR fp, DOT_FORMAT_PTR n);
00057 
00059 void dot_nodeid(int id);
00060 
00062 void dot_node(long *ar, int id, int left, int right, DOT_FORMAT_PTR fmt);
00063 
00065 void dot_add_edge (int id, int id2);
00066 
00068 void dot_add_undir_edge (int id, int id2);
Algorithm Development Kit 1.0