Add missing doc files
[jabaws.git] / binaries / src / ViennaRNA / doc / latex / group__kl__neighborhood__pf.tex
diff --git a/binaries/src/ViennaRNA/doc/latex/group__kl__neighborhood__pf.tex b/binaries/src/ViennaRNA/doc/latex/group__kl__neighborhood__pf.tex
new file mode 100644 (file)
index 0000000..ac9e371
--- /dev/null
@@ -0,0 +1,143 @@
+\hypertarget{group__kl__neighborhood__pf}{\section{Calculate Partition Functions of a Distance Based Partitioning}
+\label{group__kl__neighborhood__pf}\index{Calculate Partition Functions of a Distance Based Partitioning@{Calculate Partition Functions of a Distance Based Partitioning}}
+}
+
+
+Compute the partition function and stochastically sample secondary structures for a partitioning of the secondary structure space according to the base pair distance to two fixed reference structures.  
+
+
+Collaboration diagram for Calculate Partition Functions of a Distance Based Partitioning\-:
+\nopagebreak
+\begin{figure}[H]
+\begin{center}
+\leavevmode
+\includegraphics[width=350pt]{group__kl__neighborhood__pf}
+\end{center}
+\end{figure}
+\subsection*{Files}
+\begin{DoxyCompactItemize}
+\item 
+file \hyperlink{2Dpfold_8h}{2\-Dpfold.\-h}
+\end{DoxyCompactItemize}
+\subsection*{Functions}
+\begin{DoxyCompactItemize}
+\item 
+\hyperlink{structTwoDpfold__vars}{Two\-Dpfold\-\_\-vars} $\ast$ \hyperlink{group__kl__neighborhood__pf_ga1aca740e2a75ab2b2951538266e53d64}{get\-\_\-\-Two\-Dpfold\-\_\-variables} (const char $\ast$seq, const char $\ast$structure1, char $\ast$structure2, int \hyperlink{fold__vars_8h_af9202a1a09f5828dc731e2d9a10fa111}{circ})
+\begin{DoxyCompactList}\small\item\em Get a datastructure containing all necessary attributes and global folding switches. \end{DoxyCompactList}\item 
+\hyperlink{structTwoDpfold__vars}{Two\-Dpfold\-\_\-vars} $\ast$ \hyperlink{group__kl__neighborhood__pf_gacc2f66da7ee62096cab629fce7112216}{get\-\_\-\-Two\-Dpfold\-\_\-variables\-\_\-from\-\_\-\-M\-F\-E} (\hyperlink{structTwoDfold__vars}{Two\-Dfold\-\_\-vars} $\ast$mfe\-\_\-vars)
+\begin{DoxyCompactList}\small\item\em Get the datastructure containing all necessary attributes and global folding switches from a pre-\/filled mfe-\/datastructure. \end{DoxyCompactList}\item 
+void \hyperlink{group__kl__neighborhood__pf_gafe994291458ee2ac34d3eb825ef62a15}{destroy\-\_\-\-Two\-Dpfold\-\_\-variables} (\hyperlink{structTwoDpfold__vars}{Two\-Dpfold\-\_\-vars} $\ast$vars)
+\begin{DoxyCompactList}\small\item\em Free all memory occupied by a \hyperlink{structTwoDpfold__vars}{Two\-Dpfold\-\_\-vars} datastructure. \end{DoxyCompactList}\item 
+\hyperlink{structTwoDpfold__solution}{Two\-Dpfold\-\_\-solution} $\ast$ \hyperlink{group__kl__neighborhood__pf_ga3e1cd3b24eb635c65181182cbb4ae3eb}{Two\-Dpfold\-List} (\hyperlink{structTwoDpfold__vars}{Two\-Dpfold\-\_\-vars} $\ast$vars, int max\-Distance1, int max\-Distance2)
+\begin{DoxyCompactList}\small\item\em Compute the partition function for all distance classes. \end{DoxyCompactList}\end{DoxyCompactItemize}
+
+
+\subsection{Detailed Description}
+Compute the partition function and stochastically sample secondary structures for a partitioning of the secondary structure space according to the base pair distance to two fixed reference structures. 
+
+\subsection{Function Documentation}
+\hypertarget{group__kl__neighborhood__pf_ga1aca740e2a75ab2b2951538266e53d64}{\index{Calculate Partition Functions of a Distance Based Partitioning@{Calculate Partition Functions of a Distance Based Partitioning}!get\-\_\-\-Two\-Dpfold\-\_\-variables@{get\-\_\-\-Two\-Dpfold\-\_\-variables}}
+\index{get\-\_\-\-Two\-Dpfold\-\_\-variables@{get\-\_\-\-Two\-Dpfold\-\_\-variables}!Calculate Partition Functions of a Distance Based Partitioning@{Calculate Partition Functions of a Distance Based Partitioning}}
+\subsubsection[{get\-\_\-\-Two\-Dpfold\-\_\-variables}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Two\-Dpfold\-\_\-vars}$\ast$ get\-\_\-\-Two\-Dpfold\-\_\-variables (
+\begin{DoxyParamCaption}
+\item[{const char $\ast$}]{seq, }
+\item[{const char $\ast$}]{structure1, }
+\item[{char $\ast$}]{structure2, }
+\item[{int}]{circ}
+\end{DoxyParamCaption}
+)}}\label{group__kl__neighborhood__pf_ga1aca740e2a75ab2b2951538266e53d64}
+
+
+Get a datastructure containing all necessary attributes and global folding switches. 
+
+This function prepares all necessary attributes and matrices etc which are needed for a call of Two\-Dpfold\-List. A snapshot of all current global model switches (dangles, temperature and so on) is done and stored in the returned datastructure. Additionally, all matrices that will hold the partition function values are prepared.
+
+
+\begin{DoxyParams}{Parameters}
+{\em seq} & the R\-N\-A sequence in uppercase format with letters from the alphabet \{A\-U\-C\-G\} \\
+\hline
+{\em structure1} & the first reference structure in dot-\/bracket notation \\
+\hline
+{\em structure2} & the second reference structure in dot-\/bracket notation \\
+\hline
+{\em circ} & a switch indicating if the sequence is linear (0) or circular (1) \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+the datastructure containing all necessary partition function attributes 
+\end{DoxyReturn}
+\hypertarget{group__kl__neighborhood__pf_gacc2f66da7ee62096cab629fce7112216}{\index{Calculate Partition Functions of a Distance Based Partitioning@{Calculate Partition Functions of a Distance Based Partitioning}!get\-\_\-\-Two\-Dpfold\-\_\-variables\-\_\-from\-\_\-\-M\-F\-E@{get\-\_\-\-Two\-Dpfold\-\_\-variables\-\_\-from\-\_\-\-M\-F\-E}}
+\index{get\-\_\-\-Two\-Dpfold\-\_\-variables\-\_\-from\-\_\-\-M\-F\-E@{get\-\_\-\-Two\-Dpfold\-\_\-variables\-\_\-from\-\_\-\-M\-F\-E}!Calculate Partition Functions of a Distance Based Partitioning@{Calculate Partition Functions of a Distance Based Partitioning}}
+\subsubsection[{get\-\_\-\-Two\-Dpfold\-\_\-variables\-\_\-from\-\_\-\-M\-F\-E}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Two\-Dpfold\-\_\-vars}$\ast$ get\-\_\-\-Two\-Dpfold\-\_\-variables\-\_\-from\-\_\-\-M\-F\-E (
+\begin{DoxyParamCaption}
+\item[{{\bf Two\-Dfold\-\_\-vars} $\ast$}]{mfe\-\_\-vars}
+\end{DoxyParamCaption}
+)}}\label{group__kl__neighborhood__pf_gacc2f66da7ee62096cab629fce7112216}
+
+
+Get the datastructure containing all necessary attributes and global folding switches from a pre-\/filled mfe-\/datastructure. 
+
+This function actually does the same as get\-\_\-\-Two\-Dpfold\-\_\-variables but takes its switches and settings from a pre-\/filled M\-F\-E equivalent datastructure
+
+\begin{DoxySeeAlso}{See Also}
+\hyperlink{group__kl__neighborhood__mfe_gac9284f132cf0eaa0a2f43590eda05488}{get\-\_\-\-Two\-Dfold\-\_\-variables()}, \hyperlink{group__kl__neighborhood__pf_ga1aca740e2a75ab2b2951538266e53d64}{get\-\_\-\-Two\-Dpfold\-\_\-variables()}
+\end{DoxySeeAlso}
+
+\begin{DoxyParams}{Parameters}
+{\em mfe\-\_\-vars} & the pre-\/filled mfe datastructure \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+the datastructure containing all necessary partition function attributes 
+\end{DoxyReturn}
+\hypertarget{group__kl__neighborhood__pf_gafe994291458ee2ac34d3eb825ef62a15}{\index{Calculate Partition Functions of a Distance Based Partitioning@{Calculate Partition Functions of a Distance Based Partitioning}!destroy\-\_\-\-Two\-Dpfold\-\_\-variables@{destroy\-\_\-\-Two\-Dpfold\-\_\-variables}}
+\index{destroy\-\_\-\-Two\-Dpfold\-\_\-variables@{destroy\-\_\-\-Two\-Dpfold\-\_\-variables}!Calculate Partition Functions of a Distance Based Partitioning@{Calculate Partition Functions of a Distance Based Partitioning}}
+\subsubsection[{destroy\-\_\-\-Two\-Dpfold\-\_\-variables}]{\setlength{\rightskip}{0pt plus 5cm}void destroy\-\_\-\-Two\-Dpfold\-\_\-variables (
+\begin{DoxyParamCaption}
+\item[{{\bf Two\-Dpfold\-\_\-vars} $\ast$}]{vars}
+\end{DoxyParamCaption}
+)}}\label{group__kl__neighborhood__pf_gafe994291458ee2ac34d3eb825ef62a15}
+
+
+Free all memory occupied by a \hyperlink{structTwoDpfold__vars}{Two\-Dpfold\-\_\-vars} datastructure. 
+
+This function free's all memory occupied by a datastructure obtained from from \hyperlink{group__kl__neighborhood__pf_ga1aca740e2a75ab2b2951538266e53d64}{get\-\_\-\-Two\-Dpfold\-\_\-variables()} or \hyperlink{group__kl__neighborhood__pf_gacc2f66da7ee62096cab629fce7112216}{get\-\_\-\-Two\-Dpfold\-\_\-variables\-\_\-from\-\_\-\-M\-F\-E()}
+
+\begin{DoxySeeAlso}{See Also}
+\hyperlink{group__kl__neighborhood__pf_ga1aca740e2a75ab2b2951538266e53d64}{get\-\_\-\-Two\-Dpfold\-\_\-variables()}, \hyperlink{group__kl__neighborhood__pf_gacc2f66da7ee62096cab629fce7112216}{get\-\_\-\-Two\-Dpfold\-\_\-variables\-\_\-from\-\_\-\-M\-F\-E()}
+\end{DoxySeeAlso}
+
+\begin{DoxyParams}{Parameters}
+{\em vars} & the datastructure to be free'd \\
+\hline
+\end{DoxyParams}
+\hypertarget{group__kl__neighborhood__pf_ga3e1cd3b24eb635c65181182cbb4ae3eb}{\index{Calculate Partition Functions of a Distance Based Partitioning@{Calculate Partition Functions of a Distance Based Partitioning}!Two\-Dpfold\-List@{Two\-Dpfold\-List}}
+\index{Two\-Dpfold\-List@{Two\-Dpfold\-List}!Calculate Partition Functions of a Distance Based Partitioning@{Calculate Partition Functions of a Distance Based Partitioning}}
+\subsubsection[{Two\-Dpfold\-List}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Two\-Dpfold\-\_\-solution}$\ast$ Two\-Dpfold\-List (
+\begin{DoxyParamCaption}
+\item[{{\bf Two\-Dpfold\-\_\-vars} $\ast$}]{vars, }
+\item[{int}]{max\-Distance1, }
+\item[{int}]{max\-Distance2}
+\end{DoxyParamCaption}
+)}}\label{group__kl__neighborhood__pf_ga3e1cd3b24eb635c65181182cbb4ae3eb}
+
+
+Compute the partition function for all distance classes. 
+
+This function computes the partition functions for all distance classes according the two reference structures specified in the datastructure 'vars'. Similar to \hyperlink{group__kl__neighborhood__mfe_ga47da790166020558d27323aef489703e}{Two\-Dfold\-List()} the arguments max\-Distance1 and max\-Distance2 specify the maximum distance to both reference structures. A value of '-\/1' in either of them makes the appropriate distance restrictionless, i.\-e. all basepair distancies to the reference are taken into account during computation. In case there is a restriction, the returned solution contains an entry where the attribute k=l=-\/1 contains the partition function for all structures exceeding the restriction. A values of \hyperlink{energy__const_8h_a12c2040f25d8e3a7b9e1c2024c618cb6}{I\-N\-F} in the attribute 'k' of the returned list denotes the end of the list
+
+\begin{DoxySeeAlso}{See Also}
+\hyperlink{group__kl__neighborhood__pf_ga1aca740e2a75ab2b2951538266e53d64}{get\-\_\-\-Two\-Dpfold\-\_\-variables()}, \hyperlink{group__kl__neighborhood__pf_gafe994291458ee2ac34d3eb825ef62a15}{destroy\-\_\-\-Two\-Dpfold\-\_\-variables()}, \hyperlink{structTwoDpfold__solution}{Two\-Dpfold\-\_\-solution}
+\end{DoxySeeAlso}
+
+\begin{DoxyParams}{Parameters}
+{\em vars} & the datastructure containing all necessary folding attributes and matrices \\
+\hline
+{\em max\-Distance1} & the maximum basepair distance to reference1 (may be -\/1) \\
+\hline
+{\em max\-Distance2} & the maximum basepair distance to reference2 (may be -\/1) \\
+\hline
+\end{DoxyParams}
+\begin{DoxyReturn}{Returns}
+a list of partition funtions for the appropriate distance classes 
+\end{DoxyReturn}