Changeset 1618
- Timestamp:
- 04/21/09 19:31:49 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.GP.StructureIdentification/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Constant.cs
r1529 r1618 82 82 NormalRandomAdder valueAdder = new NormalRandomAdder(); 83 83 valueAdder.Mu = 0.0; 84 valueAdder.Sigma = 0.1;84 valueAdder.Sigma = 1.0; 85 85 86 86 combinedOp.OperatorGraph.AddOperator(manipulationSeq); -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Variable.cs
r1529 r1618 65 65 66 66 ConstrainedDoubleData weight = new ConstrainedDoubleData(); 67 // initialize a totally arbitrary range for the weight = [- 20.0, 20.0]68 weight.AddConstraint(new DoubleBoundedConstraint(- 20.0, 20.0));67 // initialize a totally arbitrary range for the weight = [-1.0, 1.0] 68 weight.AddConstraint(new DoubleBoundedConstraint(-1.0, 1.0)); 69 69 AddVariable(new HeuristicLab.Core.Variable(WEIGHT, weight)); 70 70 71 71 ConstrainedIntData variable = new ConstrainedIntData(); 72 72 AddVariable(new HeuristicLab.Core.Variable(INDEX, variable)); 73 minIndex = 0; maxIndex = 100 ;73 minIndex = 0; maxIndex = 1000; 74 74 75 75 ConstrainedIntData sampleOffset = new ConstrainedIntData(); … … 92 92 indexRandomizer.Name = "Index Randomizer"; 93 93 NormalRandomizer weightRandomizer = new NormalRandomizer(); 94 weightRandomizer.Mu = 1.0;94 weightRandomizer.Mu = 0.0; 95 95 weightRandomizer.Sigma = 1.0; 96 96 weightRandomizer.GetVariableInfo("Value").ActualName = WEIGHT; … … 129 129 NormalRandomAdder weightRandomAdder = new NormalRandomAdder(); 130 130 weightRandomAdder.Mu = 0.0; 131 weightRandomAdder.Sigma = 0.1;131 weightRandomAdder.Sigma = 1.0; 132 132 weightRandomAdder.GetVariableInfo("Value").ActualName = WEIGHT; 133 133 weightRandomAdder.Name = "Weight Adder";
Note: See TracChangeset
for help on using the changeset viewer.