RNAlib-2.4.14

Methods to compute the neighbors of an RNA secondary structure. More...

+ Include dependency graph for neighbor.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VRNA_NEIGHBOR_CHANGE   1
 State indicator for a neighbor that has been changed. More...
 
#define VRNA_NEIGHBOR_INVALID   2
 State indicator for a neighbor that has been invalidated. More...
 
#define VRNA_NEIGHBOR_NEW   3
 State indicator for a neighbor that has become newly available. More...
 

Typedefs

typedef 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. More...
 

Functions

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(). More...
 
vrna_move_tvrna_neighbors (vrna_fold_compound_t *vc, const short *pt, unsigned int options)
 Generate neighbors of a secondary structure. More...
 
vrna_move_tvrna_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) More...
 
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. More...
 
vrna_move_tvrna_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. More...
 

Detailed Description

Methods to compute the neighbors of an RNA secondary structure.