Changeset 3527 for trunk/sources/HeuristicLab.Operators
- Timestamp:
- 04/26/10 01:38:30 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators/3.3/StochasticMultiOperator.cs
r3445 r3527 34 34 /// Base class for stochastic multi operators. 35 35 /// </summary> 36 [Item("StochasticMultiOperator ", "Base class for stochastic multi operators.")]36 [Item("StochasticMultiOperator<T>", "Base class for stochastic multi operators.")] 37 37 [StorableClass] 38 38 public abstract class StochasticMultiOperator<T> : MultiOperator<T> where T : class, IOperator { … … 58 58 protected StochasticMultiOperator(bool deserializing) : base(deserializing) { } 59 59 /// <summary> 60 /// Initializes a new instance of <see cref="StochasticMulti Branch"/> with two parameters60 /// Initializes a new instance of <see cref="StochasticMultiOperator"/> with two parameters 61 61 /// (<c>Probabilities</c> and <c>Random</c>). 62 62 /// </summary> … … 119 119 DoubleArray probabilities = ProbabilitiesParameter.ActualValue; 120 120 if(probabilities.Length != Operators.Count) { 121 throw new InvalidOperationException( "MultiCrossover: The list of probabilities has to match the number of operators");121 throw new InvalidOperationException(Name + ": The list of probabilities has to match the number of operators"); 122 122 } 123 123 double sum = 0;
Note: See TracChangeset
for help on using the changeset viewer.