1 #ifndef VIENNA_RNA_PACKAGE_NEIGHBOR_H 2 #define VIENNA_RNA_PACKAGE_NEIGHBOR_H 119 #define VRNA_MOVESET_INSERTION 4 125 #define VRNA_MOVESET_DELETION 8 131 #define VRNA_MOVESET_SHIFT 16 136 #define VRNA_MOVESET_NO_LP 32 142 #define VRNA_MOVESET_DEFAULT (VRNA_MOVESET_INSERTION | VRNA_MOVESET_DELETION) 182 vrna_move_apply_to_db(
char *structure,
223 unsigned int options);
250 const short *prev_pt,
252 int size_prev_neighbors,
254 unsigned int options);
vrna_move_t * vrna_neighbors(vrna_fold_compound_t *vc, const short *pt, unsigned int options)
Generate neighbors of a secondary structure.
void vrna_loopidx_update(int *loopidx, const short *pt, int length, const vrna_move_t *m)
Alters the loopIndices array that was constructed with vrna_loopidx_from_ptable().
The most basic data structure required by many functions throughout the RNAlib.
Definition: fold_compound.h:131
int pos_5
Definition: neighbor.h:157
void vrna_move_apply(short *pt, const vrna_move_t *m)
Apply a particular move / transition to a secondary structure, i.e. transform a structure.
Various data structures and pre-processor macros.
vrna_move_t * vrna_neighbors_successive(const vrna_fold_compound_t *vc, const vrna_move_t *curr_move, const short *prev_pt, const vrna_move_t *prev_neighbors, int size_prev_neighbors, int *size_neighbors, unsigned int options)
Generate neighbors of a secondary structure (the fast way)
void vrna_move_list_free(vrna_move_t *moves)
An atomic representation of the transition / move from one structure to its neighbor.
Definition: neighbor.h:156
vrna_move_t * next
Definition: neighbor.h:159
int pos_3
Definition: neighbor.h:158