@@ -10,27 +10,6 @@ typedef struct {
1010} hash_t ;
1111
1212
13-
14- void tm_free_solution (tm_solution_t * sol );
15- int distance (tm_topology_t * topology ,int i , int j );
16- double display_sol_sum_com (tm_topology_t * topology , tm_affinity_mat_t * aff_mat , int * sigma );
17- double display_sol (tm_topology_t * topology , tm_affinity_mat_t * aff_mat , int * sigma , tm_metric_t metric );
18- double tm_display_solution (tm_topology_t * topology , tm_affinity_mat_t * aff_mat , tm_solution_t * sol ,
19- tm_metric_t metric );
20- void tm_display_other_heuristics (tm_topology_t * topology , tm_affinity_mat_t * aff_mat , tm_metric_t metric );
21- int in_tab (int * tab , int n , int val );
22- void map_Packed (tm_topology_t * topology , int N , int * sigma );
23- void map_RR (tm_topology_t * topology , int N , int * sigma );
24- int hash_asc (const void * x1 ,const void * x2 );
25- int * generate_random_sol (tm_topology_t * topology ,int N ,int level ,int seed );
26- double eval_sol (int * sol ,int N ,double * * comm , double * * arch );
27- void exchange (int * sol ,int i ,int j );
28- double gain_exchange (int * sol ,int l ,int m ,double eval1 ,int N ,double * * comm , double * * arch );
29- void select_max (int * l ,int * m ,double * * gain ,int N ,int * state );
30- void compute_gain (int * sol ,int N ,double * * gain ,double * * comm , double * * arch );
31- void map_MPIPP (tm_topology_t * topology ,int nb_seed ,int N ,int * sigma ,double * * comm , double * * arch );
32-
33-
3413void tm_free_solution (tm_solution_t * sol ){
3514 int i ,n ;
3615
@@ -120,7 +99,7 @@ double display_sol_sum_com(tm_topology_t *topology, tm_affinity_mat_t *aff_mat,
12099}
121100
122101
123- double display_sol_max_com (tm_topology_t * topology , tm_affinity_mat_t * aff_mat , int * sigma )
102+ static double display_sol_max_com (tm_topology_t * topology , tm_affinity_mat_t * aff_mat , int * sigma )
124103{
125104 double a ,c ,sol ;
126105 int i ,j ;
@@ -156,7 +135,7 @@ double display_sol_max_com(tm_topology_t *topology, tm_affinity_mat_t *aff_mat,
156135 return sol ;
157136}
158137
159- double display_sol_hop_byte (tm_topology_t * topology , tm_affinity_mat_t * aff_mat , int * sigma )
138+ static double display_sol_hop_byte (tm_topology_t * topology , tm_affinity_mat_t * aff_mat , int * sigma )
160139{
161140 double c ,sol ;
162141 int nb_hops ;
0 commit comments