⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modelsearch.h

📁 数据挖掘方面的源码
💻 H
字号:
#ifndef MODELSEARCHH#define MODELSEARCHH#include "vfml.h"typedef struct _ModelSearch_ {   long initialExampleNumber;   int doneCollectingExamples;   VoidListPtr choices;   /* will be 1 adding nothing beats any of the alternatives */   int isDone;   /* for memory optimizations */   int lastParentAdded;   int isActive;   /* which node is this search for */   int nodeID;   BeliefNet currentModel;   /* search loop control */   int *linkChangeCounts;   /* count search alternatives */   int numSearchOptions;} ModelSearchStruct, *ModelSearch;/* create a new search for the node indicated, starts inactive,      call activate right away if there is enough memory */ModelSearch MSNew(BeliefNet currentBN, int nodeID);void MSFree(ModelSearch ms);int MSGetNodeID(ModelSearch ms);void MSAddExample(ModelSearch ms, ExamplePtr e, long exampleNumber);/* tell the search it isn't getting any more examples, so     the next time CheckForWinner is called it should just pick the best */void MSTerminateSearch(ModelSearch ms);int MSIsDone(ModelSearch ms);int  MSCheckForWinner(ModelSearch ms);void MSModelChangedHandleConflicts(ModelSearch ms);/* a deactive search frees the memory being used for search alternatives       and only updates current model parameters with future examples */int MSIsActive(ModelSearch ms);void MSActivate(ModelSearch ms);void MSDeactivate(ModelSearch ms);int MSNumActiveAlternatives(ModelSearch ms);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -