Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/24/11 14:23:19 (13 years ago)
Author:
jhelm
Message:

#1329: Added DirectSchedule-Classes for optimization with the direct-schedule encoding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Scheduling/HeuristicLab.Encodings.ScheduleEncoding/3.3/PermutationWithRepetition/PWRRandomCreator.cs

    r6406 r6475  
    6363    }
    6464
     65    public static PWREncoding Apply(int jobs, int resources, IRandom random) {
     66      return new PWREncoding(jobs, resources, random);
     67    }
     68
    6569
    6670    protected override PWREncoding CreateSolution() {
    67       PWREncoding result = new PWREncoding(JobsParameter.ActualValue.Value, Random);
    68       return result;
     71      return Apply(JobsParameter.ActualValue.Value, ResourcesParameter.ActualValue.Value, Random);
    6972    }
    7073  }
Note: See TracChangeset for help on using the changeset viewer.