Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/15/10 15:26:29 (14 years ago)
Author:
svonolfe
Message:

Updated naming for BinaryVectors (#914)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.BinaryVectors/3.3/BinaryVectorManipulator.cs

    r3040 r3042  
    3737      get { return (LookupParameter<IRandom>)Parameters["Random"]; }
    3838    }
    39     public ILookupParameter<BoolArrayData> BoolVectorParameter {
    40       get { return (ILookupParameter<BoolArrayData>)Parameters["BoolVector"]; }
     39    public ILookupParameter<BoolArrayData> BinaryVectorParameter {
     40      get { return (ILookupParameter<BoolArrayData>)Parameters["BinaryVector"]; }
    4141    }
    4242
     
    4444      : base() {
    4545      Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic manipulation operators."));
    46       Parameters.Add(new LookupParameter<IntArrayData>("BoolVector", "The vector which should be manipulated."));
     46      Parameters.Add(new LookupParameter<IntArrayData>("BinaryVector", "The vector which should be manipulated."));
    4747    }
    4848
    4949    public sealed override IOperation Apply() {
    50       Manipulate(RandomParameter.ActualValue, BoolVectorParameter.ActualValue);
     50      Manipulate(RandomParameter.ActualValue, BinaryVectorParameter.ActualValue);
    5151      return base.Apply();
    5252    }
    5353
    54     protected abstract void Manipulate(IRandom random, BoolArrayData boolVector);
     54    protected abstract void Manipulate(IRandom random, BoolArrayData binaryVector);
    5555  }
    5656}
Note: See TracChangeset for help on using the changeset viewer.