Esempio n. 1
0
        public ExtremePointAlgorithm()
        {
            Parameters.Add(sortingMethodParameter = new ValueParameter <EnumValue <SortingMethod> >("SortingMethod", "In which order the items should be packed.", new EnumValue <SortingMethod>(SortingMethod.All)));
            Parameters.Add(fittingMethodParameter = new ValueParameter <EnumValue <FittingMethod> >("FittingMethod", "Which method to fit should be used.", new EnumValue <FittingMethod>(FittingMethod.All)));
            Parameters.Add(deltaParameter         = new ValueParameter <PercentValue>("Delta", "[1;100]% Clustered sorting methods use a delta parameter to determine the clusters.", new PercentValue(.1)));

            Problem = new PermutationProblem();
        }
Esempio n. 2
0
 // cloning
 private PermutationProblem(PermutationProblem original, Cloner cloner)
     : base(original, cloner)
 {
     RegisterEventHandlers();
 }