00001 /* Copyright (C) 1997-2004 The CDG Team <cdg@nats.informatik.uni-hamburg.de> 00002 * 00003 * This file is free software; as a special exception the author gives 00004 * unlimited permission to copy and/or distribute it, with or without 00005 * modifications, as long as this notice is preserved. 00006 * 00007 * This program is distributed in the hope that it will be useful, but 00008 * WITHOUT ANY WARRANTY, to the extent permitted by law; without even the 00009 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00010 * 00011 * $Id: scorematrix.h,v 1.7 2004/09/01 14:03:48 micha Exp $ 00012 */ 00013 00014 /** 00015 * @addtogroup Scorematrix 00016 * @{ 00017 */ 00018 00019 #ifndef SCOREMATRIX_H 00020 #define SCOREMATRIX_H 00021 00022 #include "blah.h" 00023 00024 /* ---------------------------------------------------------------------- */ 00025 00026 struct ScoreMatrixStruct; 00027 typedef struct ScoreMatrixStruct *ScoreMatrix; 00028 /**< type of matrix structure pointer */ 00029 00030 extern Boolean smGetFlag(ScoreMatrix sm, int r, int c); 00031 extern Boolean smSetFlag(ScoreMatrix sm, Boolean f, int r, int c); 00032 extern ScoreMatrix smNew(int r, int c); 00033 extern double smGetScore(ScoreMatrix sm, int r, int c); 00034 extern double smSetScore(ScoreMatrix sm, double d, int r, int c); 00035 extern void smDelete(ScoreMatrix sm); 00036 extern void smSetAllFlags(ScoreMatrix sm, Boolean f); 00037 00038 /* ---------------------------------------------------------------------- */ 00039 00040 #endif /* don't insert anything after this #endif */ 00041 /** @} */