hmmer-3.3/src/p7_trace.c
/* Function:  p7_trace_GetExpectedAccuracy()
 * Synopsis:  Returns the sum of the posterior residue decoding probs.
 * Incept:    SRE, Tue Aug 19 15:29:18 2008 [Janelia]
 */
p7_trace_GetExpectedAccuracy()
Synopsis:  Returns the sum of the posterior residue decoding probs.
p7_trace_GetExpectedAccuracy () Synopsis : Returns the sum of the posterior residue decoding probs .
float
p7_trace_GetExpectedAccuracy(const P7_TRACE *tr)
{
  float accuracy = 0.0;
  int   z;
  for (z = 0; z < tr->N; z++)
    accuracy += tr->pp[z];
  return accuracy;
}
float p7_trace_GetExpectedAccuracy ( const P7_TRACE * tr ) { float accuracy = 0.0 ; int z ; for ( z = 0 ; z < tr -> N ; z ++ ) accuracy += tr -> pp [ z ] ; return accuracy ; }
Function:  p7_trace_GetExpectedAccuracy()
 Synopsis:  Returns the sum of the posterior residue decoding probs.
Function : p7_trace_GetExpectedAccuracy () Synopsis : Returns the sum of the posterior residue decoding probs .