C Examples
==========

MFE Prediction (simple interface)
---------------------------------

.. literalinclude:: ../../../examples/helloworld_mfe.c
   :encoding: latin-1
   :language: c

MFE Prediction (VRNA 3.0 interface)
-----------------------------------

.. literalinclude:: ../../../examples/fold_compound_mfe.c
   :encoding: latin-1
   :language: c

MFE and Centroid structure Prediction
-------------------------------------

.. literalinclude:: ../../../examples/example1.c
   :encoding: latin-1
   :language: c

Suboptimal Structure Prediction
-------------------------------

*using the callback mechanism*

.. literalinclude:: ../../../examples/callback_subopt.c
   :encoding: latin-1
   :language: c

Base Pair Probabilities
-----------------------

.. literalinclude:: ../../../examples/helloworld_probabilities.c
   :encoding: latin-1
   :language: c

MFE Consensus Structure Prediction
----------------------------------

.. literalinclude:: ../../../examples/helloworld_mfe_comparative.c
   :encoding: latin-1
   :language: c

MFE Prediction (deviating from default settings)
------------------------------------------------

.. literalinclude:: ../../../examples/fold_compound_md.c
   :encoding: latin-1
   :language: c

Soft Constraints
----------------

.. literalinclude:: ../../../examples/soft_constraints_up.c
   :encoding: latin-1
   :language: c

A more elaborate (old) example
------------------------------

.. literalinclude:: ../../../examples/example_old.c
   :encoding: latin-1
   :language: c


.. toctree::
   :maxdepth: 1
   :caption: Contents:

