Changeset 8313 for trunk/CONSENSUS_TREE

Show
Ignore:
Timestamp:
20/12/11 15:11:49 (5 months ago)
Author:
westram
Message:
  • removed dead code
Location:
trunk/CONSENSUS_TREE
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/CONSENSUS_TREE/CT_hash.cxx

    r8309 r8313  
    182182} 
    183183 
    184  
    185 static void hash_print() { 
    186     //! testfunction to print the hashtable 
    187     int i; 
    188     HNODE *hnp; 
    189  
    190     printf("\n HASHtable \n"); 
    191  
    192     for (i=0; i< HASH_MAX; i++) { 
    193         printf("Key: %d \n", i); 
    194         hnp = Hashlist[i]; 
    195         while (hnp) { 
    196             printf("node: count %d node ", hnp->part->percent); 
    197             part_print(hnp->part); printf(" (%d)\n", hnp->part->p[0]); 
    198             hnp = hnp->next; 
    199         } 
    200     } 
    201 } 
    202  
    203  
    204 static void sorted_print() { 
    205     //! testfunction to print the sorted linear list 
    206     HNODE *hnp; 
    207  
    208     printf("\n sorted HASHlist \n"); 
    209  
    210     hnp = Sortedlist; 
    211     while (hnp) { 
    212         printf("node: count %d node ", hnp->part->percent); 
    213         part_print(hnp->part); printf("\n"); 
    214         hnp = hnp->next; 
    215     } 
    216 } 
  • trunk/CONSENSUS_TREE/CT_part.cxx

    r8309 r8313  
    187187 
    188188 
    189 static void part_setperc(PART *p, int perc) { 
    190     //! set the percentaged appearance of this part in "entrytrees" 
    191     p->percent = perc; 
    192 } 
    193  
    194  
    195 static void part_addperc(PART *p, int perc) { 
    196     //! add 'perc' on percent of p 
    197     p->percent += perc; 
    198 } 
    199  
    200189void part_copy(PART *source, PART *destination) { 
    201190    //! copy source into destination