Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/25/15 18:21:19 (9 years ago)
Author:
dglaser
Message:

#2388: Merged trunk into HiveStatistics branch

Location:
branches/HiveStatistics/sources/HeuristicLab.Problems.ExternalEvaluation
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveStatistics/sources/HeuristicLab.Problems.ExternalEvaluation/3.4/ExternalEvaluationProblem.cs

    r12012 r12515  
    3636namespace HeuristicLab.Problems.ExternalEvaluation {
    3737  [Item("External Evaluation Problem", "A problem that is evaluated in a different process.")]
    38   [Creatable("Problems")]
     38  [Creatable(CreatableAttribute.Categories.ExternalEvaluationProblems, Priority = 100)]
    3939  [StorableClass]
    4040  public sealed class ExternalEvaluationProblem : SingleObjectiveBasicProblem<IEncoding> {
     
    130130      try {
    131131        return client.Evaluate(message, GetQualityMessageExtensions());
    132       } finally {
     132      }
     133      finally {
    133134        lock (clientLock) {
    134135          activeClients.Remove(client);
     
    151152          try {
    152153            MessageBuilder.AddToMessage(variable.Value, variable.Name, protobufBuilder);
    153           } catch (ArgumentException ex) {
     154          }
     155          catch (ArgumentException ex) {
    154156            throw new InvalidOperationException(string.Format("ERROR while building solution message: Parameter {0} cannot be added to the message", name), ex);
    155157          }
Note: See TracChangeset for help on using the changeset viewer.