Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/18/12 03:22:03 (12 years ago)
Author:
abeham
Message:

#1896:

  • Added tags 1000 to max which can be used as extensions to the quality message
  • Updated the evaluator to allow better subclassing in case extensions are used
  • Updated the method signatures to pipe the extension registry down to the channel
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/Interfaces/IEvaluationServiceClient.cs

    r7259 r8298  
    2121
    2222using System;
     23using Google.ProtocolBuffers;
    2324using HeuristicLab.Core;
    2425
     
    2930    /// </summary>
    3031    /// <param name="solution">The solution message that should be evaluated.</param>
     32    /// <param name="qualityExtensions">An extension registry for the quality message that specifies additional custom fields.</param>
    3133    /// <returns>The resulting quality message from the external process.</returns>
    32     QualityMessage Evaluate(SolutionMessage solution);
     34    QualityMessage Evaluate(SolutionMessage solution, ExtensionRegistry qualityExtensions);
    3335    /// <summary>
    3436    /// Evaluates a given solution in a non-blocking manner.
    3537    /// </summary>
    3638    /// <param name="solution">The solution message that should be evaluated.</param>
     39    /// <param name="qualityExtensions">An extension registry for the quality message that specifies additional custom fields.</param>
    3740    /// <param name="callback">The callback method that is invoked when evaluation is finished.</param>
    38     void EvaluateAsync(SolutionMessage solution, Action<QualityMessage> callback);
     41    void EvaluateAsync(SolutionMessage solution, ExtensionRegistry qualityExtensions, Action<QualityMessage> callback);
    3942  }
    4043}
Note: See TracChangeset for help on using the changeset viewer.