- Timestamp:
- 11/18/15 13:50:15 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.TimeSeriesPrognosis/3.4/SymbolicTimeSeriesPrognosisExpressionTreeInterpreter.cs
r12509 r13248 73 73 } 74 74 75 private readonly object syncRoot = new object(); 75 76 public IEnumerable<IEnumerable<double>> GetSymbolicExpressionTreeValues(ISymbolicExpressionTree tree, IDataset dataset, IEnumerable<int> rows, IEnumerable<int> horizons) { 76 if (CheckExpressionsWithIntervalArithmetic .Value)77 if (CheckExpressionsWithIntervalArithmetic) 77 78 throw new NotSupportedException("Interval arithmetic is not yet supported in the symbolic data analysis interpreter."); 78 79 if (targetVariableCache == null || targetVariableCache.GetLength(0) < dataset.Rows) … … 82 83 83 84 string targetVariable = TargetVariable; 84 lock ( EvaluatedSolutions) {85 EvaluatedSolutions .Value++; // increment the evaluated solutions counter85 lock (syncRoot) { 86 EvaluatedSolutions++; // increment the evaluated solutions counter 86 87 } 87 88 var state = PrepareInterpreterState(tree, dataset, targetVariableCache, TargetVariable);
Note: See TracChangeset
for help on using the changeset viewer.