private RAPGA CreateRAPGASchedulingSample() { #region Problem Configuration JobShopSchedulingProblem problem = new JobShopSchedulingProblem(); #endregion #region Algorithm Configuration RAPGA rapga = new RAPGA(); rapga.Engine = new SequentialEngine.SequentialEngine(); rapga.Name = "RAPGA - Job Shop Scheduling"; rapga.Description = "A relevant alleles preserving genetic algorithm which solves a job shop scheduling problem"; rapga.Problem = problem; rapga.Mutator = rapga.MutatorParameter.ValidValues.OfType<JSMSwapManipulator>().First(); rapga.Seed.Value = 0; return rapga; #endregion }
private RAPGA CreateRAPGASchedulingSample() { #region Problem Configuration JobShopSchedulingProblem problem = new JobShopSchedulingProblem(); #endregion #region Algorithm Configuration RAPGA rapga = new RAPGA(); rapga.Engine = new SequentialEngine.SequentialEngine(); rapga.Name = "RAPGA - Job Shop Scheduling"; rapga.Description = "A relevant alleles preserving genetic algorithm which solves a job shop scheduling problem"; rapga.Problem = problem; rapga.Mutator = rapga.MutatorParameter.ValidValues.OfType <JSMSwapManipulator>().First(); rapga.Seed.Value = 0; return(rapga); #endregion }