Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/08/08 19:30:05 (16 years ago)
Author:
gkronber
Message:

ironed out a few more problems (#237 FunctionLibraryInjector that injects default function libraries with a few parameters)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Functions/Variable.cs

    r467 r468  
    188188        prev = allowedIndexes[i];
    189189      }
     190      IntBoundedConstraint range = new IntBoundedConstraint();
     191      range.LowerBound = start;
     192      range.LowerBoundEnabled = true;
     193      range.LowerBoundIncluded = true;
     194      range.UpperBound = prev;
     195      range.UpperBoundEnabled = true;
     196      range.UpperBoundIncluded = true;
     197      constraints.Add(range);
    190198      if(constraints.Count > 1) {
    191199        OrConstraint or = new OrConstraint();
Note: See TracChangeset for help on using the changeset viewer.