Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2929_PrioritizedGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.PGE/3.3/go-code/go-pge/plug/pge.c @ 16191

Last change on this file since 16191 was 16191, checked in by hmaislin, 6 years ago

#2929: Added current DLL to PGE dir that needs to be placed in bin path

File size: 2.0 KB
Line 
1#include <stdio.h>
2#include <stdio.h>
3#include <string.h>
4#include "pge.h"
5
6void testGet(GoInt param, char* param2, int paramn) {
7  TestGet(param, param2, paramn);
8}
9
10void initTreeParams(char* Roots, char* Nodes, char* NonTrig, char* Leafs, void* UsableVars, GoInt UsableVarsN, GoInt MaxSize, GoInt MinSize, GoInt MaxDepth, GoInt MinDepth) {
11  InitTreeParams(Roots, Nodes, NonTrig, Leafs, UsableVars, UsableVarsN, MaxSize, MinSize, MaxDepth, MinDepth);
12}
13
14void addTrainData(char* indepNames, char* depndNames, void* matrix, GoInt nEntries) {
15  AddTrainData(indepNames, depndNames, matrix, nEntries);
16}
17
18void addTestData(char* indepNames, char* depndNames, void* matrix, GoInt nEntries) {
19  AddTestData(indepNames, depndNames, matrix, nEntries);
20}
21
22char* getStepResult(GoInt* nobestpush, GoInt* bestnewminerr, GoInt* bestlen1, GoInt* bestlen2, GoInt* testscore, void* coeff, GoInt* ncoeff) {
23  return GetStepResult(nobestpush, bestnewminerr, bestlen1, bestlen2, testscore, coeff, ncoeff);
24}
25
26void initSearch(GoInt maxGen, GoInt pgeRptEpoch, GoInt pgeRptCount, GoInt pgeArchiveCap, GoInt peelCnt, GoInt evalrCount, GoFloat64 zeroEpsilon, char* initMethod, char* growMethod, GoInt sortType) {
27  InitSearch(maxGen, pgeRptEpoch, pgeRptCount, pgeArchiveCap, peelCnt, evalrCount, zeroEpsilon, initMethod, growMethod, sortType);
28}
29
30void initProblem(char* Name, GoInt MaxIter, GoFloat64 HitRatio, GoInt SearchVar, char* ProblemTypeString, GoInt numProcs) {
31   InitProblem(Name, MaxIter, HitRatio, SearchVar, ProblemTypeString, numProcs);
32}
33
34GoInt getMaxIterW() {
35  return GetMaxIterW();
36}
37
38void setMaxIterW(GoInt iter) {
39  SetMaxIterW(iter);
40}
41
42void setPeelCountW(GoInt cnt) {
43  SetPeelCountW(cnt);
44}
45
46void setInitMethodW(GoString init) {
47  SetInitMethodW(init);
48}
49
50void setGrowMethodW(GoString grow) {
51  SetGrowMethodW(grow);
52}
53
54void setEvalrCountW(GoInt cnt) {
55  SetEvalrCountW(cnt);
56}
57
58void evaluateW() {
59  EvaluateW();
60}
61
62void runW() {
63  RunW();
64}
65
66void loopW() {
67  LoopW();
68}
69
70void stepW() {
71  StepW();
72}
73
74void cleanW() {
75  CleanW();
76}
Note: See TracBrowser for help on using the repository browser.