libBioLCCC
Loading...
Searching...
No Matches
parsing.h
1#ifndef PARSING_H
2#define PARSING_H
3
4#include "biolcccexception.h"
5#include "chemicalbasis.h"
6
7namespace BioLCCC
8{
9
12{
13public:
15 ParsingException(std::string message);
16};
17
19
25std::vector<ChemicalGroup> parseSequence(
26 const std::string &source,
27 const ChemicalBasis &chemBasis);
28
30
39std::vector<double> calculateMonomerEnergyProfile(
40 const std::vector<ChemicalGroup> &parsedSequence,
41 const ChemicalBasis & chemBasis,
42 const double secondSolventConcentration,
43 const double columnRelativeStrength,
44 const double temperature);
45
47
52std::vector<double> calculateSegmentEnergyProfile(
53 const std::vector<double> &monomerEnergyProfile,
54 const double monomerLength,
55 const double kuhnLength);
56}
57
58#endif
Base class for all BioLCCC exceptions. Can be used by itself.
Definition biolcccexception.h:11
An instance of ChemicalBasis contains a set of BioLCCC constants.
Definition chemicalbasis.h:87
This exception is raised when a parsing process cannot be completed.
Definition parsing.h:12
Apart from classes, BioLCCC contains calculation methods and constants.
Definition auxiliary.h:5
std::vector< double > calculateMonomerEnergyProfile(const std::vector< ChemicalGroup > &parsedSequence, const ChemicalBasis &chemBasis, const double secondSolventConcentration, const double columnRelativeStrength, const double temperature)
Calculates the effective energy profile of monomers of the polymer chain.
Definition parsing.cpp:11
std::vector< double > calculateSegmentEnergyProfile(const std::vector< double > &monomerEnergyProfile, const double monomerLength, const double kuhnLength)
Calculates the effective energy profile of segments of the polymer chain.
Definition parsing.cpp:87
std::vector< ChemicalGroup > parseSequence(const std::string &source, const ChemicalBasis &chemBasis)
Parses a given peptide sequence.
Definition parsing.cpp:134