Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/16/11 14:50:59 (14 years ago)
Author:
svonolfe
Message:

Implemented various changes as proposed by vdorfer and swinkler (#1392)

  • Collecting the successful values now works when elites are enabled
  • The initial iteration (0) is not collected
  • The DataTable now has a Name
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SuccessProgressAnalysis/HeuristicLab.Operators/3.3/StochasticMultiBranch.cs

    r5379 r5492  
    153153      OperationCollection next = new OperationCollection(base.Apply());
    154154      if (successor != null) {
    155         ExecutedOperatorParameter.ActualValue = new StringValue(successor.GetType().Name);
     155        if(ReportExecutedOperatorParameter.Value.Value)
     156          ExecutedOperatorParameter.ActualValue = new StringValue(successor.Name);
    156157
    157158        if (CreateChildOperation)
     
    159160        else next.Insert(0, ExecutionContext.CreateOperation(successor));
    160161      } else {
    161         ExecutedOperatorParameter.ActualValue = new StringValue("");
     162        if (ReportExecutedOperatorParameter.Value.Value)
     163          ExecutedOperatorParameter.ActualValue = new StringValue("");
    162164      }
    163165      return next;
Note: See TracChangeset for help on using the changeset viewer.