1#ifndef VIENNA_RNA_PACKAGE_COMBINATORICS_H
2#define VIENNA_RNA_PACKAGE_COMBINATORICS_H
58 size_t string_length);
90 unsigned int **positions);
140 unsigned int **positions);
167 const char *structure);
202 const char *structure,
203 unsigned int **positions);
The Basic Fold Compound API.
unsigned int ** vrna_n_multichoose_k(size_t n, size_t k)
Obtain a list of k-combinations with repetition (n multichoose k)
unsigned int vrna_rotational_symmetry_pos(const char *string, unsigned int **positions)
Determine the order of rotational symmetry for a NULL-terminated string of ASCII characters.
unsigned int vrna_rotational_symmetry_db_pos(vrna_fold_compound_t *fc, const char *structure, unsigned int **positions)
Determine the order of rotational symmetry for a dot-bracket structure.
unsigned int * vrna_boustrophedon(size_t start, size_t end)
Generate a sequence of Boustrophedon distributed numbers.
unsigned int vrna_boustrophedon_pos(size_t start, size_t end, size_t pos)
Obtain the i-th element in a Boustrophedon distributed interval of natural numbers.
unsigned int vrna_rotational_symmetry_pos_num(const unsigned int *string, size_t string_length, unsigned int **positions)
Determine the order of rotational symmetry for a string of objects represented by natural numbers.
unsigned int vrna_rotational_symmetry_num(const unsigned int *string, size_t string_length)
Determine the order of rotational symmetry for a string of objects represented by natural numbers.
unsigned int vrna_rotational_symmetry_db(vrna_fold_compound_t *fc, const char *structure)
Determine the order of rotational symmetry for a dot-bracket structure.
unsigned int ** vrna_enumerate_necklaces(const unsigned int *type_counts)
Enumerate all necklaces with fixed content.
unsigned int vrna_rotational_symmetry(const char *string)
Determine the order of rotational symmetry for a NULL-terminated string of ASCII characters.
The most basic data structure required by many functions throughout the RNAlib.
Definition: fold_compound.h:148