Changeset 16966 for branches/2288_HeuristicLab.VariableInteractionNetworks/HeuristicLab.VariableInteractionNetworks/3.3/ImpactCalculator.cs
- Timestamp:
- 05/20/19 16:33:14 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2288_HeuristicLab.VariableInteractionNetworks/HeuristicLab.VariableInteractionNetworks/3.3/ImpactCalculator.cs
r16962 r16966 34 34 shuffledRows.ShuffleInPlace(new FastRandom(1234), partition.Start, partition.End); 35 35 36 for (int setSize = 1; setSize <= maxInteractions ; setSize++) {36 for (int setSize = 1; setSize <= maxInteractions && setSize <= variableNames.Count; setSize++) { 37 37 var combinations = HeuristicLab.Common.EnumerableExtensions.Combinations(variableNames, setSize) 38 38 .Where(comb => comb.Any(v => v == variableName)); // variable combinations that contain the selected variable
Note: See TracChangeset
for help on using the changeset viewer.