Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/04/19 17:31:54 (5 years ago)
Author:
mkommend
Message:

#2521: Added cancellation token to evaluate function of problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.GraphColoring/3.3/GraphColoringProblem.cs

    r17270 r17320  
    2222using System;
    2323using System.Linq;
     24using System.Threading;
    2425using HEAL.Attic;
    2526using HeuristicLab.Analysis;
     
    128129    }
    129130
    130     public override double Evaluate(LinearLinkage lle, IRandom random) {
     131    public override double Evaluate(LinearLinkage lle, IRandom random, CancellationToken cancellationToken) {
    131132      var adjList = adjacencyListParameter.Value;
    132133      var llee = lle.ToEndLinks(); // LLE-e encoding uses the highest indexed member as group number
Note: See TracChangeset for help on using the changeset viewer.