~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina4/src/sys/graph/graph.h

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**@(#)Graph structure definitions.
  2 *
  3 * graph.h
  4 *
  5 */
  6 
  7 #ifndef GRAPH_HEADS_DEFINED
  8 #define GRAPH_HEADS_DEFINED
  9 
 10 typedef struct graph_node  /* generic graph */
 11 {
 12     Ts_id ts_id;                /* Tina structure identifier */
 13     int type;
 14     int status;
 15     Bool bounded; /* used when searching the graph */
 16     float bound;  
 17     float value;  /* utility value */
 18     void *to;
 19     List *cons;
 20 } Graph_node;
 21 #define GRAPH_NODE_SWAP_STRING "iiiffpp"
 22 
 23 typedef struct tree_node   /* generic tree */
 24 {
 25     Ts_id ts_id;                /* Tina structure identifier */
 26     int type;
 27     int status;
 28     Bool bounded; /* used when searching tree tree */
 29     float bound;  
 30     float value;
 31     void *to;
 32     List *children;
 33     struct tree_node *parent;
 34 } Tree_node;
 35 #define TREE_NODE_SWAP_STRING "iiiffppp"
 36 
 37 typedef struct viols_node
 38 {
 39     Ts_id ts_id;        /* SMC*/ /* Tina structure identifier */
 40     int     status;
 41     int     label;
 42     Graph_node *gn;
 43     List   *viols;
 44 }       Viols_node;
 45 #define VIOLS_NODE_SWAP_STRING "iipp"
 46 
 47 typedef struct bin_node   /* binary tree structure */
 48 {
 49     Ts_id ts_id;                /* Tina structure identifier */
 50     int type;
 51     int status;
 52     Bool bounded; /* used when searching tree tree */
 53     float bound;
 54     float value;
 55     void *to;
 56     struct bin_node *child1;
 57     struct bin_node *child2;
 58     struct bin_node *parent;
 59 } Bin_node;
 60 #define BIN_NODE_SWAP_STRING "iiiffpppp"
 61 
 62 #endif /* GRAPH_HEADS_DEFINED */
 63 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.