PandA-2024.02
Macros | Functions
nw.c File Reference
#include "nw.h"
Include dependency graph for nw.c:

Go to the source code of this file.

Macros

#define MATCH_SCORE   1
 
#define MISMATCH_SCORE   -1
 
#define GAP_SCORE   -1
 
#define ALIGN   '\\'
 
#define SKIPA   '^'
 
#define SKIPB   '<'
 
#define MAX(A, B)   ( ((A)>(B))?(A):(B) )
 

Functions

void needwun (char SEQA[ALEN], char SEQB[BLEN], char alignedA[ALEN+BLEN], char alignedB[ALEN+BLEN], int M[(ALEN+1) *(BLEN+1)], char ptr[(ALEN+1) *(BLEN+1)])
 

Macro Definition Documentation

◆ ALIGN

#define ALIGN   '\\'

Definition at line 7 of file nw.c.

Referenced by needwun().

◆ GAP_SCORE

#define GAP_SCORE   -1

Definition at line 5 of file nw.c.

Referenced by needwun().

◆ MATCH_SCORE

#define MATCH_SCORE   1

Definition at line 3 of file nw.c.

Referenced by needwun().

◆ MAX

#define MAX (   A,
  B 
)    ( ((A)>(B))?(A):(B) )

Definition at line 11 of file nw.c.

Referenced by needwun().

◆ MISMATCH_SCORE

#define MISMATCH_SCORE   -1

Definition at line 4 of file nw.c.

Referenced by needwun().

◆ SKIPA

#define SKIPA   '^'

Definition at line 8 of file nw.c.

Referenced by needwun().

◆ SKIPB

#define SKIPB   '<'

Definition at line 9 of file nw.c.

Referenced by needwun().

Function Documentation

◆ needwun()

void needwun ( char  SEQA[ALEN],
char  SEQB[BLEN],
char  alignedA[ALEN+BLEN],
char  alignedB[ALEN+BLEN],
int  M[(ALEN+1) *(BLEN+1)],
char  ptr[(ALEN+1) *(BLEN+1)] 
)

Definition at line 13 of file nw.c.

References ALEN, ALIGN, BLEN, GAP_SCORE, M, MATCH_SCORE, MAX, max, MISMATCH_SCORE, symmetry::row, SKIPA, and SKIPB.

Referenced by main(), and run_benchmark().

Here is the caller graph for this function:

Generated on Mon Feb 12 2024 13:03:10 for PandA-2024.02 by doxygen 1.8.13