Changeset 14310 for branches/HeuristicLab.Problems.GeneticProgramming.BloodGlucosePrediction/Grammar.cs
- Timestamp:
- 09/27/16 16:30:54 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GeneticProgramming.BloodGlucosePrediction/Grammar.cs
r13870 r14310 24 24 var exprCh = new SimpleSymbol("ExprCh", string.Empty, 1, 1); 25 25 26 var predGlucData = new PredictedGlucoseVariableSymbol();26 // var predGlucData = new PredictedGlucoseVariableSymbol(); 27 27 var realGlucData = new RealGlucoseVariableSymbol(); 28 28 … … 60 60 var logIns = new SimpleSymbol("LogIns", "Log", 1, 1); 61 61 var curvedIns = new CurvedInsVariableSymbol("CurvedIns", ""); 62 var realInsVar = new RealInsulineVariableSymbol();62 // var realInsVar = new RealInsulineVariableSymbol(); 63 63 64 64 var constSy = new Constant(); … … 69 69 AddSymbol(exprIns); 70 70 AddSymbol(exprCh); 71 AddSymbol(predGlucData);71 // AddSymbol(predGlucData); 72 72 AddSymbol(realGlucData); 73 73 AddSymbol(plusGluc); … … 100 100 AddSymbol(cosIns); 101 101 AddSymbol(logIns); 102 AddSymbol(realInsVar);102 // AddSymbol(realInsVar); 103 103 AddSymbol(constSy); 104 104 … … 115 115 |realData(k-<idx2hOrMore>) 116 116 */ 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 }; 118 118 foreach (var opGluc in opGlucSet) { 119 119 AddAllowedChildSymbol(exprGluc, opGluc); … … 192 192 193 193 */ 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 }; 195 195 foreach (var opIns in opInsSet) { 196 196 AddAllowedChildSymbol(exprIns, opIns);
Note: See TracChangeset
for help on using the changeset viewer.