\hypertarget{edit__cost_8h_source}{
\section{/homes/fmmarquesmadeira/Projects/jabaws/binaries/src/ViennaRNA/H/edit\_\-cost.h}
}


\begin{footnotesize}\begin{alltt}
00001 
00006 \textcolor{preprocessor}{#define PRIVATE static}
00007 \textcolor{preprocessor}{}
00008 PRIVATE \textcolor{keywordtype}{char}   sep    = \textcolor{charliteral}{':'};
00009 PRIVATE \textcolor{keywordtype}{char}  *coding = \textcolor{stringliteral}{"Null:U:P:H:B:I:M:S:E:R"};
00010 
00011 \textcolor{preprocessor}{#define  INF 10000  }\textcolor{comment}{/* infinity */}
00012 
00013 \textcolor{keyword}{typedef} \textcolor{keywordtype}{int} CostMatrix[10][10];
00014 
00015 PRIVATE CostMatrix *EditCost;  \textcolor{comment}{/* will point to UsualCost or ShapiroCost */}
00016 
00017 PRIVATE CostMatrix  UsualCost =
00018 \{
00019 
00020 \textcolor{comment}{/*  Null,   U,   P,   H,   B,   I,   M,   S,   E,   R     */}
00021 
00022    \{   0,   1,   2,   2,   2,   2,   2,   1,  1,  \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}\},   \textcolor{comment}{/* Null replaced */}
00023    \{   1,   0,   1, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, INF, INF, INF, INF, INF\},   \textcolor{comment}{/* U    replaced */}
00024    \{   2,   1,   0, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, INF, INF, INF, INF, INF\},   \textcolor{comment}{/* P    replaced */}
00025    \{   2, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF},   0,   2,   2,   2, INF, INF, INF\},   \textcolor{comment}{/* H    replaced */}
00026    \{   2, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF},   2,   0,   1,   2, INF, INF, INF\},   \textcolor{comment}{/* B    replaced */}
00027    \{   2, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF},   2,   1,   0,   2, INF, INF, INF\},   \textcolor{comment}{/* I    replaced */}
00028    \{   2, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF},   2,   2,   2,   0, INF, INF, INF\},   \textcolor{comment}{/* M    replaced */}
00029    \{   1, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, INF, INF, INF, INF,   0, INF, INF\},   \textcolor{comment}{/* S    replaced */}
00030    \{   1, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, INF, INF, INF, INF, INF,   0, INF\},   \textcolor{comment}{/* E    replaced */}
00031    \{ \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, INF, INF, INF, INF, INF, INF, INF,   0\},   \textcolor{comment}{/* R    replaced */}
00032 
00033 \};
00034 
00035 
00036 PRIVATE CostMatrix ShapiroCost =
00037 \{
00038 
00039 \textcolor{comment}{/*  Null,   U,   P,   H,   B,   I,   M,   S,   E,  R     */}
00040 
00041    \{   0,   1,   2, 100,   5,   5,  75,   5,   5, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}\},   \textcolor{comment}{/* Null replaced */}
00042    \{   1,   0,   1, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, INF, INF, INF, INF, INF\},   \textcolor{comment}{/* U    replaced */}
00043    \{   2,   1,   0, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, INF, INF, INF, INF, INF\},   \textcolor{comment}{/* P    replaced */}
00044    \{ 100, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF},   0,   8,   8,   8, INF, INF, INF\},   \textcolor{comment}{/* H    replaced */}
00045    \{   5, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF},   8,   0,   3,   8, INF, INF, INF\},   \textcolor{comment}{/* B    replaced */}
00046    \{   5, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF},   8,   3,   0,   8, INF, INF, INF\},   \textcolor{comment}{/* I    replaced */}
00047    \{  75, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF},   8,   8,   8,   0, INF, INF, INF\},   \textcolor{comment}{/* M    replaced */}
00048    \{   5, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, INF, INF, INF, INF,   0, INF, INF\},   \textcolor{comment}{/* S    replaced */}
00049    \{   5, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, INF, INF, INF, INF, INF,   0, INF\},   \textcolor{comment}{/* E    replaced */}
00050    \{ \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{INF}, INF, INF, INF, INF, INF, INF, INF,   0\},   \textcolor{comment}{/* R    replaced */}
00051 
00052 \};
00053 
\end{alltt}\end{footnotesize}
