[16191] | 1 | #include <stdio.h>
|
---|
| 2 | #include <stdio.h>
|
---|
| 3 | #include <string.h>
|
---|
| 4 | #include "pge.h"
|
---|
| 5 |
|
---|
| 6 | void testGet(GoInt param, char* param2, int paramn) {
|
---|
| 7 | TestGet(param, param2, paramn);
|
---|
| 8 | }
|
---|
| 9 |
|
---|
| 10 | void 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 |
|
---|
| 14 | void addTrainData(char* indepNames, char* depndNames, void* matrix, GoInt nEntries) {
|
---|
| 15 | AddTrainData(indepNames, depndNames, matrix, nEntries);
|
---|
| 16 | }
|
---|
| 17 |
|
---|
| 18 | void addTestData(char* indepNames, char* depndNames, void* matrix, GoInt nEntries) {
|
---|
| 19 | AddTestData(indepNames, depndNames, matrix, nEntries);
|
---|
| 20 | }
|
---|
| 21 |
|
---|
[16230] | 22 | char* getStepResult(GoInt* nobestpush, GoInt* bestnewminerr, GoInt* bestlen1, GoInt* bestlen2, GoInt* testscore, GoInt* ncoeff) {
|
---|
| 23 | return GetStepResult(nobestpush, bestnewminerr, bestlen1, bestlen2, testscore, ncoeff);
|
---|
[16191] | 24 | }
|
---|
| 25 |
|
---|
| 26 | void 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 |
|
---|
| 30 | void initProblem(char* Name, GoInt MaxIter, GoFloat64 HitRatio, GoInt SearchVar, char* ProblemTypeString, GoInt numProcs) {
|
---|
| 31 | InitProblem(Name, MaxIter, HitRatio, SearchVar, ProblemTypeString, numProcs);
|
---|
| 32 | }
|
---|
| 33 |
|
---|
[16230] | 34 | GoFloat64 getCoeffResult() {
|
---|
| 35 | return GetCoeffResult();
|
---|
| 36 | }
|
---|
| 37 |
|
---|
[16191] | 38 | GoInt getMaxIterW() {
|
---|
| 39 | return GetMaxIterW();
|
---|
| 40 | }
|
---|
| 41 |
|
---|
| 42 | void setMaxIterW(GoInt iter) {
|
---|
| 43 | SetMaxIterW(iter);
|
---|
| 44 | }
|
---|
| 45 |
|
---|
| 46 | void setPeelCountW(GoInt cnt) {
|
---|
| 47 | SetPeelCountW(cnt);
|
---|
| 48 | }
|
---|
| 49 |
|
---|
| 50 | void setInitMethodW(GoString init) {
|
---|
| 51 | SetInitMethodW(init);
|
---|
| 52 | }
|
---|
| 53 |
|
---|
| 54 | void setGrowMethodW(GoString grow) {
|
---|
| 55 | SetGrowMethodW(grow);
|
---|
| 56 | }
|
---|
| 57 |
|
---|
| 58 | void setEvalrCountW(GoInt cnt) {
|
---|
| 59 | SetEvalrCountW(cnt);
|
---|
| 60 | }
|
---|
| 61 |
|
---|
| 62 | void evaluateW() {
|
---|
| 63 | EvaluateW();
|
---|
| 64 | }
|
---|
| 65 |
|
---|
| 66 | void runW() {
|
---|
| 67 | RunW();
|
---|
| 68 | }
|
---|
| 69 |
|
---|
| 70 | void loopW() {
|
---|
| 71 | LoopW();
|
---|
| 72 | }
|
---|
| 73 |
|
---|
| 74 | void stepW() {
|
---|
| 75 | StepW();
|
---|
| 76 | }
|
---|
| 77 |
|
---|
| 78 | void cleanW() {
|
---|
| 79 | CleanW();
|
---|
| 80 | } |
---|