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/Datastructures/ParameterVector.cs

    r11363 r11397  
    7676    }
    7777
    78     public BinaryVector Binary(string name) {
     78    public BinaryVector BinaryVector(string name) {
    7979      return BinaryParameters[name];
    8080    }
    8181
    82     public bool Binary(string name, int index) {
     82    public bool BinaryValue(string name, int index) {
    8383      return BinaryParameters[name][index];
    8484    }
     
    8888    }
    8989
    90     public IntegerVector Integer(string name) {
     90    public IntegerVector IntegerVector(string name) {
    9191      return IntegerParameters[name];
    9292    }
    9393
    94     public int Integer(string name, int index) {
     94    public int IntegerValue(string name, int index) {
    9595      return IntegerParameters[name][index];
    9696    }
     
    100100    }
    101101
    102     public RealVector Real(string name) {
     102    public RealVector RealVector(string name) {
    103103      return RealParameters[name];
    104104    }
    105105
    106     public double Real(string name, int index) {
     106    public double RealValue(string name, int index) {
    107107      return RealParameters[name][index];
    108108    }
Note: See TracChangeset for help on using the changeset viewer.