14#ifndef _RBTSIMANNTRANSFORM_H_
15#define _RBTSIMANNTRANSFORM_H_
17#include "rxdock/BaseBiMolTransform.h"
18#include "rxdock/ChromElement.h"
19#include "rxdock/Rand.h"
21#include <nlohmann/json.hpp>
23using json = nlohmann::json;
31 void Init(
double score);
32 void InitBlock(
double score);
33 void Accumulate(
double score,
bool bAccepted);
35 double Variance()
const;
36 double AccRate()
const;
55 static const std::string _CT;
57 static const std::string _START_T;
58 static const std::string _FINAL_T;
59 static const std::string _BLOCK_LENGTH;
60 static const std::string _SCALE_CHROM_LENGTH;
61 static const std::string _NUM_BLOCKS;
62 static const std::string _STEP_SIZE;
63 static const std::string _MIN_ACC_RATE;
64 static const std::string _PARTITION_DIST;
65 static const std::string _PARTITION_FREQ;
66 static const std::string _HISTORY_FREQ;
68 RBTDLL_EXPORT
static const std::string &GetStartT();
69 RBTDLL_EXPORT
static const std::string &GetFinalT();
70 RBTDLL_EXPORT
static const std::string &GetBlockLength();
71 RBTDLL_EXPORT
static const std::string &GetNumBlocks();
72 RBTDLL_EXPORT
static const std::string &GetStepSize();
73 RBTDLL_EXPORT
static const std::string &GetPartitionDist();
74 RBTDLL_EXPORT
static const std::string &GetPartitionFreq();
92 virtual void SetupReceptor();
93 virtual void SetupLigand();
96 void MC(
double t,
int blockLen,
double stepSize);
97 virtual void Execute();
123 std::vector<double> m_lastGoodVector;
Definition SimAnnTransform.h:28
Definition SmartPointer.h:48