Rosetta
Namespaces | Functions
heap.cc File Reference
#include <protocols/frags/heap.hh>
#include <ObjexxFCL/FArray1A.hh>

Namespaces

 protocols
 The instance of Loops contained by AbrelaxApplication should be replaced by a LoopsOP.
 
 protocols::frags
 

Functions

void protocols::frags::heap_init (FArray1A_int heap, FArray1A_float coheap, int max_items)
 sets up an empty heap and stores the dimensioned size More...
 
void protocols::frags::heap_extract (FArray1A_int heap, FArray1A_float coheap, int &val, float &coval, bool &err)
 modifes heap and last_val return val and err. More...
 
void protocols::frags::heap_insert (FArray1A_int heap, FArray1A_float coheap, int val, float coval, bool &err)
 modifes heap and last_dummy, inserts val, returns err requires heap_max to be previously set via heap_init More...
 
void protocols::frags::heap_replace (FArray1A_int heap, FArray1A_float coheap, int val, float coval)
 
void protocols::frags::heap_down (FArray1A_int heap, FArray1A_float coheap, int index_in)
 
void protocols::frags::heap_up (FArray1A_int heap, FArray1A_float coheap, int &index_in)