src/cpsp/SideChain/options/side_chain_optdeg_option.cpp
Go to the documentation of this file.00001 /* 00002 * Main authors: 00003 * Mohamad Rabbath <rabbath@informatik.uni-freiburg.de> 00004 * 00005 * Contributing authors: 00006 * Martin Mann <mmann@informatik.uni-freiburg.de> 00007 * Sebastian Will <will@informatik.uni-freiburg.de> 00008 * 00009 * This file is part of the CPSP-tools package: 00010 * http://www.bioinf.uni-freiburg.de/sw/cpsp/ 00011 * 00012 * See the file "LICENSE" for information on usage and 00013 * redistribution of this file, and for a 00014 * DISCLAIMER OF ALL WARRANTIES. 00015 * 00016 */ 00017 00018 #include"side_chain_optdeg_option.h" 00019 namespace cpsp{ 00020 //side chain threading 00021 namespace scth{ 00022 SideChainDegOptions::SideChainDegOptions(){ 00023 sideChainOptions.withOutput=false; 00024 Length=30; 00025 Threshold=10000; 00026 sideChainOptions.SolutionsNum=Threshold+1; 00027 startSeq=""; 00028 Seed=-1; 00029 tgtDeg=100; //? 00030 timeLimit=-1; 00031 TEMPERATURE=0.4; 00032 Cutoff=0.01; //? 00033 maxSteps=100000; 00034 Stat=false; 00035 verboseOut=true; 00036 RandomizerPath=""; 00037 } 00038 void SideChainDegOptions::setThreshold(int th){ 00039 Threshold=th; 00040 sideChainOptions.SolutionsNum=Threshold+1; 00041 } 00042 } 00043 }