Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/19/09 13:18:46 (15 years ago)
Author:
gkronber
Message:

Reverted r1847 after discussion with swagner. Instead each operator should decide independently what happens after abort and adapt the returned next operation accordingly. #633 (Engines do not handle abortion of operators correctly)

Location:
trunk/sources/HeuristicLab.Core/3.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.2/Interfaces/IOperator.cs

    r1847 r1851  
    6060    /// </summary>
    6161    ICollection<IVariable> Variables { get; }
    62     /// <summary>
    63     /// Gets information whether abortion of the operator is supported.
    64     /// </summary>
    65     bool SupportsAbort { get; }
     62
    6663    /// <summary>
    6764    /// Adds the given sub operator to the current instance.
  • trunk/sources/HeuristicLab.Core/3.2/OperatorBase.cs

    r1847 r1851  
    8989    public virtual ICollection<IVariable> Variables {
    9090      get { return myVariables.Values; }
    91     }
    92     /// <inheritdoc/>
    93     /// The default is false.
    94     public virtual bool SupportsAbort {
    95       get { return false; }
    9691    }
    9792
Note: See TracChangeset for help on using the changeset viewer.