ElfPSP_ParallelABC
Protein Structure Prediction using Parallel Artificial Bee Colony Optimization
gyration.h
Go to the documentation of this file.
1 #ifndef _GYRATION_H_
2 #define _GYRATION_H_
3 
6 #include <int3d.h>
7 #include "fitness_private.h"
8 
9 /* coords - the coordinates for the beads
10  * size - the number of beads
11  * center - the center points (baricenter) for the beads.
12  *
13  * Returns the gyration radius for the given beads.
14  */
15 double calc_gyration(const int3d *coords, int size, DPoint center);
16 
17 /* coordsSC - the coordinates for all side chain beads
18  * hpChain - the string representing the types of the side chain beads
19  * hpSize - the number of side chain beads
20  * centerH and centerP are the center points (baricenter) for H beads and P beads respectively.
21  *
22  * Returns a DPair where the first element is the gyration for H beads.
23  * The second element is gyration for P beads.
24  */
25 DPair calc_gyration_joint(const int3d *coordsSC, const HPElem * hpChain, int hpSize, DPoint centerH, DPoint centerP);
26 
27 /* Calculate MaxRG_H which is the radius of gyration for the hydrophobic beads
28  * considering the protein completely unfolded
29  *
30  * hpChain - the string representing the types of the side chain beads
31  * hpSize - the number of side chain beads
32  */
33 double calc_max_gyration(const HPElem * hpChain, int hpSize);
34 
35 
36 #endif
Private header file solely for usage by fitness files.
Routines for mathematical manipulation of vectors and points in the integer space.
char HPElem
HPChain is how we call an array of HPElem.
Definition: hpchain.h:9
Type for representing a tridimensional coordinate.
Definition: int3d.h:17
Holds a triple of double values.
Definition: fitness_private.h:27
Holds a pair of double values.
Definition: fitness_private.h:34