#include "BiopolymerClass.h" #ifndef ResidueStretchContainer_H_ #define ResidueStretchContainer_H_ class ResidueStretchContainer{ private: vector residueStretchVector; public: ResidueStretchContainer() {}; void clear(){residueStretchVector.clear();}; vector getResidueStretchVector(){return residueStretchVector;}; vector getMobilizerStretchVector(String bondMobilityString) { vector myMobilizerStretchVector; for (int i = 0; i < (int)residueStretchVector.size(); i++){ MobilizerStretch myMobilizerStretch = residueStretchVector[i].mobilizerStretch(bondMobilityString); myMobilizerStretchVector.push_back(myMobilizerStretch);// residueStretchVector[i].mobilizerStretch(bondMobilityString)); cout<<__FILE__<<":"<<__LINE__<<" For chain "< (radius + (3.8 *10))) { // if we can afford to advance 5 residues instead of just 1 .. for (int j = 0; j < 9; j++) { // go ahead and skip 9 if (targetResidueID == targetBiopolymerClass.getLastResidueID()) {break; } targetBiopolymerClass.incrementResidueID(targetResidueID); // skip one residue } } else if (myDistance > (radius + (3.8 * 5))) { // if we can afford to advance 5 residues instead of just 1 .. for (int j = 0; j < 4; j++) { // go ahead and skip 4 if (targetResidueID == targetBiopolymerClass.getLastResidueID()) {break; } targetBiopolymerClass.incrementResidueID(targetResidueID); // skip one residue } } else if (myDistance > (radius + (3.8 * 2))) { // 3.8Å is the per-residue advance for an extended chain.if we can afford to advance 2 residues instead of just 1 .. cout<<__FILE__<<":"<<__LINE__<<" Distance is "<0) { cout<<__FILE__<<":"<<__LINE__<<" Minimum distance for reference chain is "<