Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/04/15 21:38:28 (9 years ago)
Author:
abeham
Message:

#2174:

  • Added possibility to define neighborhood and analyze function for external evaluation problems
Location:
branches/ProgrammableProblem/HeuristicLab.Problems.ExternalEvaluation/3.4
Files:
1 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/ProgrammableProblem/HeuristicLab.Problems.ExternalEvaluation/3.4

    • Property svn:ignore
      •  

        old new  
        55*.vs10x
        66Plugin.cs
         7*.DotSettings
  • branches/ProgrammableProblem/HeuristicLab.Problems.ExternalEvaluation/3.4/Programmable/CompiledOptimizationSupport.cs

    r11886 r11893  
    2020#endregion
    2121
    22 using System;
     22using System.Collections.Generic;
     23using HeuristicLab.Core;
     24using HeuristicLab.Optimization;
     25using HeuristicLab.Problems.Programmable;
    2326
    24 namespace HeuristicLab.Problems.Programmable {
    25   public abstract class CompiledProblemDefinition : IProblemDefinition {
    26     private IEncoding encoding;
    27     public IEncoding Encoding {
    28       get { return encoding; }
    29       protected set {
    30         if (value == null) throw new ArgumentNullException("The encoding must not be null.");
    31         encoding = value;
    32       }
    33     }
     27namespace HeuristicLab.Problems.ExternalEvaluation {
     28  public abstract class CompiledOptimizationSupport {
    3429
    3530    public dynamic vars { get; set; }
    36     public abstract void Initialize();
    37 
    38     protected CompiledProblemDefinition() { }
    39     protected CompiledProblemDefinition(IEncoding encoding)
    40       : base() {
    41       Encoding = encoding;
    42     }
    4331  }
    4432}
Note: See TracChangeset for help on using the changeset viewer.