1 #ifndef VIENNA_RNA_PACKAGE_NEIGHBOR_H 2 #define VIENNA_RNA_PACKAGE_NEIGHBOR_H 135 #define VRNA_NEIGHBOR_CHANGE 1 143 #define VRNA_NEIGHBOR_INVALID 2 151 #define VRNA_NEIGHBOR_NEW 3 190 unsigned int options);
217 const short *prev_pt,
219 int size_prev_neighbors,
221 unsigned int options);
251 unsigned int options);
275 unsigned int options);
int vrna_move_neighbor_diff_cb(vrna_fold_compound_t *fc, short *ptable, vrna_move_t move, vrna_callback_move_update *cb, void *data, unsigned int options)
Apply a move to a secondary structure and indicate which neighbors have changed consequentially.
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:132
vrna_move_t * vrna_neighbors(vrna_fold_compound_t *vc, const short *pt, unsigned int options)
Generate neighbors of a secondary structure.
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_callback_move_update)(vrna_fold_compound_t *fc, vrna_move_t neighbor, unsigned int state, void *data)
Prototype of the neighborhood update callback.
Definition: neighbor.h:124
Methods to operate with structural neighbors of RNA secondary structures.
vrna_move_t * vrna_move_neighbor_diff(vrna_fold_compound_t *fc, short *ptable, vrna_move_t move, vrna_move_t **invalid_moves, unsigned int options)
Apply a move to a secondary structure and indicate which neighbors have changed consequentially.
The Basic Fold Compound API.
An atomic representation of the transition / move from one structure to its neighbor.
Definition: move.h:73