Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/27/16 16:30:54 (8 years ago)
Author:
gkronber
Message:

changed interpreter and grammar to smooth ch and ins uptake using a compartement model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.GeneticProgramming.BloodGlucosePrediction/Grammar.cs

    r13870 r14310  
    2424      var exprCh = new SimpleSymbol("ExprCh", string.Empty, 1, 1);
    2525
    26       var predGlucData = new PredictedGlucoseVariableSymbol();
     26      // var predGlucData = new PredictedGlucoseVariableSymbol();
    2727      var realGlucData = new RealGlucoseVariableSymbol();
    2828
     
    6060      var logIns = new SimpleSymbol("LogIns", "Log", 1, 1);
    6161      var curvedIns = new CurvedInsVariableSymbol("CurvedIns", "");
    62       var realInsVar = new RealInsulineVariableSymbol();
     62      // var realInsVar = new RealInsulineVariableSymbol();
    6363
    6464      var constSy = new Constant();
     
    6969      AddSymbol(exprIns);
    7070      AddSymbol(exprCh);
    71       AddSymbol(predGlucData);
     71      // AddSymbol(predGlucData);
    7272      AddSymbol(realGlucData);
    7373      AddSymbol(plusGluc);
     
    100100      AddSymbol(cosIns);
    101101      AddSymbol(logIns);
    102       AddSymbol(realInsVar);
     102      // AddSymbol(realInsVar);
    103103      AddSymbol(constSy);
    104104
     
    115115                    |realData(k-<idx2hOrMore>)
    116116      */
    117       var opGlucSet = new Symbol[] { plusGluc, minusGluc, prodGluc, divGluc, expGluc, sinGluc, cosGluc, logGluc, predGlucData, realGlucData, constSy };
     117      var opGlucSet = new Symbol[] { plusGluc, minusGluc, prodGluc, divGluc, expGluc, sinGluc, cosGluc, logGluc, /*predGlucData, */ realGlucData, constSy };
    118118      foreach (var opGluc in opGlucSet) {
    119119        AddAllowedChildSymbol(exprGluc, opGluc);
     
    192192
    193193      */
    194       var opInsSet = new Symbol[] { plusIns, minusIns, prodIns, divIns, expIns, sinIns, cosIns, logIns, realInsVar, curvedIns, constSy };
     194      var opInsSet = new Symbol[] { plusIns, minusIns, prodIns, divIns, expIns, sinIns, cosIns, logIns, /* realInsVar, */ curvedIns, constSy };
    195195      foreach (var opIns in opInsSet) {
    196196        AddAllowedChildSymbol(exprIns, opIns);
Note: See TracChangeset for help on using the changeset viewer.