src/base/p7_trace.c
/* Function:  p7_trace_Create()
 * Synopsis:  Allocates a (growable, reusable) traceback.
 *
 * Purpose:   Allocates a traceback. 
 *  
 *            Tracebacks are growable. A reasonable initial internal
 *            allocation is made here, and routines that generate
 *            tracebacks will dynamically grow the trace as needed.
 *            
 *            Tracebacks are reusable. Usually a routine only
 *            allocates one, and reuses its memory over and over as
 *            new target sequences are aligned.
 *
 * Returns:   a pointer to the new <P7_TRACE> structure on success.
 *
 * Throws:    <NULL> on allocation error.
 */
p7_trace_Create()
Synopsis:  Allocates a (growable, reusable) traceback.

Allocates a traceback.

Tracebacks are growable. A reasonable initial internal
allocation is made here, and routines that generate
tracebacks will dynamically grow the trace as needed.

Tracebacks are reusable. Usually a routine only
allocates one, and reuses its memory over and over as
new target sequences are aligned.

a pointer to the new  structure on success.

 on allocation error.
p7_trace_Create () Synopsis : Allocates a ( growable reusable ) traceback . Allocates a traceback . Tracebacks are growable . A reasonable initial internal allocation is made here and routines that generate tracebacks will dynamically grow the trace as needed . Tracebacks are reusable . Usually a routine only allocates one and reuses its memory over and over as new target sequences are aligned . a pointer to the new structure on success . on allocation error .
P7_TRACE *
p7_trace_Create(void)
{
  int       initial_nalloc    = 256;
  int       initial_ndomalloc = 16;
  int       with_posteriors   = FALSE;
  return trace_create_engine(initial_nalloc, initial_ndomalloc, with_posteriors);
}
P7_TRACE * p7_trace_Create ( void ) { int initial_nalloc = 256 ; int initial_ndomalloc = 16 ; int with_posteriors = FALSE ; return trace_create_engine ( initial_nalloc , initial_ndomalloc , with_posteriors ) ; }
Function:  p7_trace_Create()
 Synopsis:  Allocates a (growable, reusable) traceback.
Function : p7_trace_Create () Synopsis : Allocates a ( growable reusable ) traceback .