ElfPSP_ParallelABC
Protein Structure Prediction using Parallel Artificial Bee Colony Optimization
Typedefs | Functions
hpchain.h File Reference

Routines for handling HP chains. More...

#include <stdio.h>

Go to the source code of this file.

Typedefs

typedef char HPElem
 HPChain is how we call an array of HPElem. More...
 

Functions

HPElemHPChain_read (FILE *fp)
 Reads an HP chain from file 'fp'. More...
 

Detailed Description

Routines for handling HP chains.

Typedef Documentation

◆ HPElem

typedef char HPElem

HPChain is how we call an array of HPElem.

Function Documentation

◆ HPChain_read()

HPElem* HPChain_read ( FILE *  fp)

Reads an HP chain from file 'fp'.

An HP chain is of the form "HHPHPPP", and is expected to have less than 2000 characters (overestimated). The user is allowed to type only the characters "H" and "P".