RNAlib-2.6.3
 
Loading...
Searching...
No Matches

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.
 
#define VRNA_NEIGHBOR_INVALID   2
 State indicator for a neighbor that has been invalidated.
 
#define VRNA_NEIGHBOR_NEW   3
 State indicator for a neighbor that has become newly available.
 

Typedefs

typedef void(* vrna_move_update_f) (vrna_fold_compound_t *fc, vrna_move_t neighbor, unsigned int state, void *data)
 Prototype of the neighborhood update callback.
 

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().
 
vrna_move_tvrna_neighbors (vrna_fold_compound_t *fc, const short *pt, unsigned int options)
 Generate neighbors of a secondary structure.
 
vrna_move_tvrna_neighbors_successive (const vrna_fold_compound_t *fc, 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)
 
int vrna_move_neighbor_diff_cb (vrna_fold_compound_t *fc, short *ptable, vrna_move_t move, vrna_move_update_f cb, void *data, unsigned int options)
 Apply a move to a secondary structure and indicate which neighbors have changed consequentially.
 
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.
 

Detailed Description

Methods to compute the neighbors of an RNA secondary structure.