mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-28 03:20:25 +08:00
31 lines
652 B
C++
31 lines
652 B
C++
// $Id: searchStatus.h 962 2006-11-07 15:13:34Z privmane $
|
|
|
|
#ifndef ___SEARCH_STATUS
|
|
#define ___SEARCH_STATUS
|
|
|
|
#include "definitions.h"
|
|
|
|
class searchStatus {
|
|
public:
|
|
explicit searchStatus(const MDOUBLE startingTmp,const MDOUBLE factor);
|
|
explicit searchStatus(){};
|
|
void setParameters(const MDOUBLE tmp, const MDOUBLE factor) {
|
|
_currentTmp=tmp;
|
|
_factor=factor;
|
|
}
|
|
|
|
void tmpUp1(){_currentTmp *= _factor;}
|
|
void tmpDown1(){_currentTmp /= _factor;}
|
|
const MDOUBLE getTmp() const {return _currentTmp;}
|
|
void setTmp(const MDOUBLE newTmp) {_currentTmp=newTmp;}
|
|
virtual ~searchStatus(){}
|
|
|
|
private:
|
|
MDOUBLE _currentTmp;
|
|
MDOUBLE _factor;
|
|
};
|
|
|
|
#endif
|
|
|
|
|