Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/18/17 14:38:18 (7 years ago)
Author:
ddorfmei
Message:

#2747: Improved hard-coded genetic algorithm

  • implemented restart strategy
  • implemented 1-Opt algorithm
  • added parameters to control restart strategy and optimal assignment strategy
  • additional results: best solution found after number of generations, jobs/nests (for evaluation only)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CFSAP/HeuristicLab.Problems.Scheduling.CFSAP/3.3/CFSAP.cs

    r15493 r15533  
    112112
    113113    public int Evaluate(Permutation order, BinaryVector assignment) {
    114       return EvaluateAssignement(order, assignment, ProcessingTimes, SetupTimes);
     114      return EvaluateAssignment(order, assignment, ProcessingTimes, SetupTimes);
    115115    }
    116116
     
    147147
    148148    //Function to evaluate individual with the specified assignment
    149     public static int EvaluateAssignement(Permutation order, BinaryVector assignment, IntMatrix processingTimes, ItemList<IntMatrix> setupTimes) {
     149    public static int EvaluateAssignment(Permutation order, BinaryVector assignment, IntMatrix processingTimes, ItemList<IntMatrix> setupTimes) {
    150150      if (processingTimes.Rows != 2) throw new ArgumentException("Method can only be used when there are two machines.", "assignment");
    151151      var N = order.Length;
Note: See TracChangeset for help on using the changeset viewer.