Changeset 17773 for branches/3073_IA_constraint_splitting/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/IntervalUtil.cs
- Timestamp:
- 10/08/20 15:39:46 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3073_IA_constraint_splitting/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/IntervalUtil.cs
r17768 r17773 22 22 var regionRanges = new IntervalCollection(); 23 23 foreach (var kvp in variableRanges) { 24 if (kvp.Key != constraint.Target && constraint.Regions.GetReadonlyDictionary().TryGetValue(kvp.Key, out Intervalval)) {24 if (kvp.Key != constraint.Target && constraint.Regions.GetReadonlyDictionary().TryGetValue(kvp.Key, out var val)) { 25 25 regionRanges.AddInterval(kvp.Key, val); 26 26 } else { … … 80 80 IEnumerable<IntervalConstraint> constraints, IBoundsEstimator estimator, IntervalCollection intervalCollection, 81 81 ISymbolicExpressionTree solution) { 82 return constraints 83 .Select(constraint => IntervalConstraintViolation(constraint, estimator, intervalCollection, solution)) 84 .ToList(); 82 return constraints.Select(constraint => IntervalConstraintViolation(constraint, estimator, intervalCollection, solution)).ToList(); 85 83 } 86 84 }
Note: See TracChangeset
for help on using the changeset viewer.