Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/26/12 13:12:48 (12 years ago)
Author:
gkronber
Message:

#1797 added an interface IConstrainedValueParameter, added a test case to check the name, visibility and type of the parameter-property for constrainedValueParameters, corrected all properties in IParameterizedItems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorSwarmUpdater.cs

    r7745 r8121  
    8989      get { return (ILookupParameter<DoubleValue>)Parameters["VelocityBoundsScale"]; }
    9090    }
    91     public OptionalConstrainedValueParameter<IDiscreteDoubleValueModifier> VelocityBoundsScalingOperatorParameter {
    92       get { return (OptionalConstrainedValueParameter<IDiscreteDoubleValueModifier>)Parameters["VelocityBoundsScalingOperator"]; }
     91    public IConstrainedValueParameter<IDiscreteDoubleValueModifier> VelocityBoundsScalingOperatorParameter {
     92      get { return (IConstrainedValueParameter<IDiscreteDoubleValueModifier>)Parameters["VelocityBoundsScalingOperator"]; }
    9393    }
    9494    public IValueLookupParameter<DoubleValue> VelocityBoundsStartValueParameter {
     
    162162      get { return VelocityBoundsStartValueParameter.ActualValue; }
    163163    }
    164     private IDiscreteDoubleValueModifier VelocityBoundsScalingOperator {
     164    public IDiscreteDoubleValueModifier VelocityBoundsScalingOperator {
    165165      get { return VelocityBoundsScalingOperatorParameter.Value; }
     166      set { VelocityBoundsScalingOperatorParameter.Value = value; }
    166167    }
    167168    private ResultCollection Results {
Note: See TracChangeset for help on using the changeset viewer.