Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/04/19 17:31:54 (4 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.Binary/3.3/HIFFProblem.cs

    r17270 r17320  
    2323
    2424using System;
     25using System.Threading;
    2526using HEAL.Attic;
    2627using HeuristicLab.Common;
     
    4748    }
    4849    // In the GECCO paper, Section 4.1
    49     public override double Evaluate(BinaryVector individual, IRandom random) {
     50    public override double Evaluate(BinaryVector individual, IRandom random, CancellationToken cancellationToken) {
    5051      int[] level = new int[individual.Length];
    5152      int levelLength = individual.Length;
Note: See TracChangeset for help on using the changeset viewer.