Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
heap.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 
11 #ifndef INCLUDED_protocols_frags_heap_hh
12 #define INCLUDED_protocols_frags_heap_hh
13 
14 
15 // ObjexxFCL Headers
16 // AUTO-REMOVED #include <ObjexxFCL/FArray1A.hh>
17 
18 #include <ObjexxFCL/FArray1A.fwd.hh>
19 
20 
21 // C++ Headers
22 //#include <iosfwd>
23 
24 namespace protocols {
25 namespace frags {
26 
27 void
28 heap_init(
29  ObjexxFCL::FArray1A_int heap,
30  ObjexxFCL::FArray1A_float coheap,
31  int max_items
32 );
33 
34 
35 void
37  ObjexxFCL::FArray1A_int heap, // convert to zero offset matrix
38  ObjexxFCL::FArray1A_float coheap,
39  int & val,
40  float & coval,
41  bool & err
42 );
43 
44 
45 void
47  ObjexxFCL::FArray1A_int heap, // convert to zero offset matrix
48  ObjexxFCL::FArray1A_float coheap,
49  int val,
50  float coval,
51  bool & err
52 );
53 
54 
55 void
57  ObjexxFCL::FArray1A_int heap, // convert to zero offset matrix
58  ObjexxFCL::FArray1A_float coheap,
59  int val,
60  float coval
61 );
62 
63 
64 void
65 heap_down(
66  ObjexxFCL::FArray1A_int heap, // convert to zero offset matrix
67  ObjexxFCL::FArray1A_float coheap,
68  int index_in
69 );
70 
71 
72 void
73 heap_up(
74  ObjexxFCL::FArray1A_int heap, // convert to zero offset matrix
75  ObjexxFCL::FArray1A_float coheap,
76  int & index_in
77 );
78 
79 
80 } // ns frags
81 } // ns protocols
82 
83 
84 #endif