hmmer-3.3/src/p7_spensemble.c
/* cluster_orderer()
 * is the routine that gets passed to qsort() to sort
 * the significant clusters by order of occurrence on
 * the target sequence
 */
cluster_orderer()
is the routine that gets passed to qsort() to sort
the significant clusters by order of occurrence on
the target sequence
cluster_orderer () is the routine that gets passed to qsort () to sort the significant clusters by order of occurrence on the target sequence
static int
cluster_orderer(const void *v1, const void *v2)
{
  struct p7_spcoord_s   *h1    = (struct p7_spcoord_s *)   v1;
  struct p7_spcoord_s   *h2    = (struct p7_spcoord_s *)   v2;
  if      (h1->i < h2->i) return -1;
  else if (h1->i > h2->i) return 1;
  else                    return 0;
}
static int cluster_orderer ( const void * v1 , const void * v2 ) { struct p7_spcoord_s * h1 = ( struct p7_spcoord_s * ) v1 ; struct p7_spcoord_s * h2 = ( struct p7_spcoord_s * ) v2 ; if ( h1 -> i < h2 -> i ) return -1 ; else if ( h1 -> i > h2 -> i ) return 1 ; else return 0 ; }
cluster_orderer()
 is the routine that gets passed to qsort() to sort
 the significant clusters by order of occurrence on
 the target sequence
cluster_orderer () is the routine that gets passed to qsort () to sort the significant clusters by order of occurrence on the target sequence