Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/20/09 20:14:47 (15 years ago)
Author:
gkronber
Message:

Implemented #302 (Show variable names instead of var<index> in GP function trees).

  • Added a new operator that chooses a random value from a list of possible values.
  • Changed mutation operator for variables and differentials
  • Changed internal linear representation of function trees to support different types for local data.
Location:
trunk/sources/HeuristicLab.Random/3.2
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Random/3.2/HeuristicLab.Random-3.2.csproj

    r1534 r2174  
    8181  </ItemGroup>
    8282  <ItemGroup>
     83    <Compile Include="UniformItemChooser.cs" />
    8384    <Compile Include="UniformRandomAdder.cs" />
    8485    <Compile Include="NormalRandomAdder.cs" />
  • trunk/sources/HeuristicLab.Random/3.2/UniformRandomizer.cs

    r1530 r2174  
    6363    /// </summary>
    6464    public UniformRandomizer() {
    65       AddVariableInfo(new VariableInfo("Value", "The value to manipulate (type is one of: IntData, ConstrainedIntData, DoubleData, ConstrainedDoubleData)", typeof(IObjectData), VariableKind.In));
     65      AddVariableInfo(new VariableInfo("Value", "The value to manipulate (type is one of: IntData, ConstrainedIntData, DoubleData, ConstrainedDoubleData)", typeof(IObjectData), VariableKind.Out));
    6666      AddVariableInfo(new VariableInfo("Random", "The random generator to use", typeof(MersenneTwister), VariableKind.In));
    6767      AddVariableInfo(new VariableInfo("Min", "Lower bound of the uniform distribution (inclusive)", typeof(DoubleData), VariableKind.None));
Note: See TracChangeset for help on using the changeset viewer.