Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/28/14 09:18:30 (10 years ago)
Author:
abeham
Message:

#2174:

  • Renamed methods from e.g. Configuration.AddReal to Configuration.AddRealVector
  • Introduced the variable store into the single-objective problem definition script
  • Created a base class for problem definitions that are derived from in code
  • Created a view for problem definition scripts that also includes the variable store
    • It looks like a C# script view, but unfortunately, the content types are not compatible
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/Operators/ParameterVectorMoveGenerator.cs

    r11396 r11397  
    7979        moveScopes[i] = new Scope(i.ToString());
    8080        foreach (var param in nbhood[i].BinaryNames)
    81           moveScopes[i].Variables.Add(new Variable(param, nbhood[i].Binary(param)));
     81          moveScopes[i].Variables.Add(new Variable(param, nbhood[i].BinaryVector(param)));
    8282
    8383        foreach (var param in nbhood[i].IntegerNames)
    84           moveScopes[i].Variables.Add(new Variable(param, nbhood[i].Integer(param)));
     84          moveScopes[i].Variables.Add(new Variable(param, nbhood[i].IntegerVector(param)));
    8585
    8686        foreach (var param in nbhood[i].RealNames)
    87           moveScopes[i].Variables.Add(new Variable(param, nbhood[i].Real(param)));
     87          moveScopes[i].Variables.Add(new Variable(param, nbhood[i].RealVector(param)));
    8888
    8989        foreach (var param in nbhood[i].PermutationNames)
Note: See TracChangeset for help on using the changeset viewer.