2 #ifndef __VIENNA_RNA_PACKAGE_SUBOPT_H__
3 #define __VIENNA_RNA_PACKAGE_SUBOPT_H__
5 #include "data_structures.h"
10 * \addtogroup subopt_fold Enumerating Suboptimal Structures
11 * \ingroup folding_routines
14 * \brief RNAsubopt and density of states declarations
20 * \addtogroup subopt_wuchty
27 * \brief Returns list of subopt structures or writes to fp
29 * This function produces <b>all</b> suboptimal secondary structures within
30 * 'delta' * 0.01 kcal/mol of the optimum. The results are either
31 * directly written to a 'fp' (if 'fp' is not NULL), or
32 * (fp==NULL) returned in a #SOLUTION * list terminated
33 * by an entry were the 'structure' pointer is NULL.
35 * \ingroup subopt_wuchty
43 SOLUTION *subopt (char *seq,
49 * \brief Returns list of subopt structures or writes to fp
51 * \ingroup subopt_wuchty
53 SOLUTION *subopt_par( char *seq,
62 * \brief Returns list of circular subopt structures or writes to fp
64 * This function is similar to subopt() but calculates secondary structures
65 * assuming the RNA sequence to be circular instead of linear
67 * \ingroup subopt_wuchty
75 SOLUTION *subopt_circ ( char *seq,
81 * \brief Sort output by energy
83 * \ingroup subopt_wuchty
86 extern int subopt_sorted;
90 * \brief printing threshold for use with logML
92 * \ingroup subopt_wuchty
95 extern double print_energy;
103 * \brief The Density of States
105 * This array contains the density of states for an RNA sequences after a call to subopt_par(),
106 * subopt() or subopt_circ().
108 * \pre Call one of the functions subopt_par(), subopt() or subopt_circ() prior accessing the contents
110 * \see subopt_par(), subopt(), subopt_circ()
113 extern int density_of_states[MAXDOS+1];
115 /** @} */ /* End of group dos */