- Timestamp:
- 05/27/09 16:13:07 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.GP.StructureIdentification.ConditionalEvaluation/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification.ConditionalEvaluation/3.3/ConditionalEvaluatorBase.cs
r1902 r1915 50 50 // check if condition variable is true between sample - minTimeOffset and sample - maxTimeOffset 51 51 bool skip = false; 52 for (int checkIndex = sample - minTimeOffset; checkIndex <= sample -maxTimeOffset && !skip ; checkIndex++) {52 for (int checkIndex = sample + minTimeOffset; checkIndex <= sample + maxTimeOffset && !skip ; checkIndex++) { 53 53 if (dataset.GetValue(checkIndex, conditionVariable) == 0) 54 54 skip = true; -
trunk/sources/HeuristicLab.GP.StructureIdentification.ConditionalEvaluation/3.3/ConditionalSimpleEvaluator.cs
r1902 r1915 57 57 // check if condition variable is true between sample - minTimeOffset and sample - maxTimeOffset 58 58 bool skip = false; 59 for (int checkIndex = sample - minTimeOffset; checkIndex <= sample -maxTimeOffset && !skip ; checkIndex++) {59 for (int checkIndex = sample + minTimeOffset; checkIndex <= sample + maxTimeOffset && !skip ; checkIndex++) { 60 60 if (dataset.GetValue(checkIndex, conditionVariable) == 0) 61 61 skip = true;
Note: See TracChangeset
for help on using the changeset viewer.