root/ompi/mca/topo/treematch/treematch/tm_tree.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef __TM_TREE_H__
   2 #define __TM_TREE_H__
   3 #include <stdlib.h>
   4 #include "treematch.h"
   5 
   6 void update_val(tm_affinity_mat_t *aff_mat,tm_tree_t *parent);
   7 void display_tab(double **tab,int N);
   8 void set_node(tm_tree_t *node,tm_tree_t ** child, int arity,tm_tree_t *parent,
   9               int id,double val,tm_tree_t *tab_child,int depth);
  10 
  11 
  12 typedef struct _group_list_t{
  13   struct _group_list_t *next;
  14   tm_tree_t **tab;
  15   double val;
  16   double sum_neighbour;
  17   double wg;
  18   int id;
  19   double *bound;
  20 }group_list_t;
  21 
  22 
  23 typedef struct{
  24   int i;
  25   int j;
  26   double val;
  27 }adjacency_t;
  28 
  29 
  30 typedef struct _work_unit_t{
  31   int nb_groups;
  32   int *tab_group;
  33   int done;
  34   int nb_work;
  35   struct _work_unit_t *next;
  36 }work_unit_t;
  37 
  38 #endif
  39 

/* [<][>][^][v][top][bottom][index][help] */