📄 gconfsearch.h
字号:
#ifndef __GCONFSEARCH_H__#define __GCONFSEARCH_H__#include "GSearch.h"class GStringHeap;class GAVLTree;class GMatrix;// This is still an experimental algorithm. It's designed to search complex// hypersurfaces by optimizing between exploration and exploitation using// the intersection of Gaussians extending from known points as a guideclass GConfidenceSearch : public GRealVectorSearch{protected: int m_nDimensions; GStringHeap* m_pHeap; GAVLTree* m_pPriorityQueue; GMatrix* m_pMatrix; double m_dThoroughness;public: GConfidenceSearch(GRealVectorCritic* pCritic, double dMin, double dRange, double dThoroughness); ~GConfidenceSearch(); void Iterate();protected: double* AddPoint(double* pPoint); double MeasureDistanceSquared(double* pPoint1, double* pPoint2); void AddSearchArea(double** ppNeighbors); double ComputeOptimisticSearchPointError(double* pSearchPoint, double* pNeighbor);};#endif // __GCONFSEARCH_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -