Ignore:
Timestamp:
11/23/15 21:18:26 (4 years ago)
Author:
jkarder
Message:

#2258: added StartAsync to IExecutable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Async/HeuristicLab.Problems.QuadraticAssignment.Algorithms/3.3/RobustTabooSearch.cs

    r13173 r13349  
    2222using System;
    2323using System.Linq;
     24using System.Threading;
     25using System.Threading.Tasks;
    2426using HeuristicLab.Analysis;
    2527using HeuristicLab.Common;
     
    338340    }
    339341
    340     public override void Start() {
     342    public override async Task StartAsync(CancellationToken cancellationToken) {
    341343      if (ExecutionState == ExecutionState.Prepared) {
    342344        int dim = Problem.Weights.Rows;
     
    350352        GlobalScope.Variables.Add(new Variable("MoveQualityMatrix", new DoubleMatrix(dim, dim)));
    351353      }
    352       base.Start();
     354      await base.StartAsync(cancellationToken);
    353355    }
    354356
Note: See TracChangeset for help on using the changeset viewer.