ElfPSP_ParallelABC
Protein Structure Prediction using Parallel Artificial Bee Colony Optimization
|
Routines for mathematical manipulation of vectors and points in the integer space. More...
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
Classes | |
struct | int3d_ |
Type for representing a tridimensional coordinate. More... | |
Macros | |
#define | INT3D_INLINE inline |
Typedefs | |
typedef struct int3d_ | int3d |
Type for representing a tridimensional coordinate. More... | |
Functions | |
INT3D_INLINE int3d | int3d_make (int x, int y, int z) |
Creates an int3d. More... | |
INT3D_INLINE int3d | int3d_add (int3d a, int3d b) |
Adds two int3d objects. More... | |
INT3D_INLINE bool | int3d_isDist1 (int3d a, int3d b) |
Verifies if a and b are within a distance of exactly 1 from each other. More... | |
INT3D_INLINE bool | int3d_equal (int3d a, int3d b) |
Verifies if a and b are equal. More... | |
INT3D_INLINE void | int3d_print (int3d a, FILE *fp) |
Prints the given int3d object, without placing a newline. More... | |
Routines for mathematical manipulation of vectors and points in the integer space.
Verifies if a
and b
are within a distance of exactly 1 from each other.
INT3D_INLINE int3d int3d_make | ( | int | x, |
int | y, | ||
int | z | ||
) |
Creates an int3d.
INT3D_INLINE void int3d_print | ( | int3d | a, |
FILE * | fp | ||
) |
Prints the given int3d object, without placing a newline.