Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/26/10 03:51:30 (14 years ago)
Author:
swagner
Message:

Removed property ExecutionContext in Operator (#1333)

Location:
branches/ParallelEngine/HeuristicLab.Random/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/ParallelEngine/HeuristicLab.Random/3.3/NormalRandomizer.cs

    r4722 r5177  
    8181    /// Generates a new normally distributed random variable and assigns it to the specified variable.
    8282    /// </summary>
    83     public override IOperation Apply() {
     83    public override IOperation Apply(IExecutionContext context) {
    8484      IRandom random = RandomParameter.ActualValue;
    8585      double mu = MuParameter.ActualValue.Value;
  • branches/ParallelEngine/HeuristicLab.Random/3.3/RandomCreator.cs

    r4722 r5177  
    8888    }
    8989
    90     public override IOperation Apply() {
     90    public override IOperation Apply(IExecutionContext context) {
    9191      if (SetSeedRandomlyParameter.ActualValue == null) SetSeedRandomlyParameter.ActualValue = new BoolValue(true);
    9292      bool setSeedRandomly = SetSeedRandomlyParameter.ActualValue.Value;
     
    9999      RandomParameter.ActualValue = random;
    100100
    101       return base.Apply();
     101      return base.Apply(context);
    102102    }
    103103  }
  • branches/ParallelEngine/HeuristicLab.Random/3.3/UniformRandomizer.cs

    r4722 r5177  
    8383    /// Generates a new uniformly distributed random variable.
    8484    /// </summary>
    85     public override IOperation Apply() {
     85    public override IOperation Apply(IExecutionContext context) {
    8686      IRandom random = RandomParameter.ActualValue;
    8787      double min = MinParameter.ActualValue.Value;
Note: See TracChangeset for help on using the changeset viewer.