27 #ifndef __SWSHARP_SCORERH__
28 #define __SWSHARP_SCORERH__
60 int gapOpen,
int gapExtend);
205 #endif // __SWSHARP_SCORERH__
Scorer * scorerDeserialize(char *bytes)
Scorer deserialization method.
char scorerDecode(char c)
Scorer static decoding method.
char scorerEncode(char c)
Scorer static encoding method.
void scorerDelete(Scorer *scorer)
Scorer destructor.
char scorerGetMaxCode(Scorer *scorer)
Max code getter.
struct Scorer Scorer
Scorer object used for alignment scoring.
Definition: scorer.h:42
int scorerIsScalar(Scorer *scorer)
Scalar getter.
int scorerScore(Scorer *scorer, char a, char b)
Scores two codes.
const char * scorerGetName(Scorer *scorer)
Name getter.
int scorerGetGapOpen(Scorer *scorer)
Gap open penalty getter.
Scorer * scorerCreate(const char *name, int *scores, char maxCode, int gapOpen, int gapExtend)
Scorer constructor.
int scorerGetGapExtend(Scorer *scorer)
Gap extend penalty getter.
void scorerSerialize(char **bytes, int *bytesLen, Scorer *scorer)
Scorer serialization method.
int scorerGetMaxScore(Scorer *scorer)
Max score getter.