Пример #1
0
 public NSGA2OffspringSelectorBase(
     IEnumerable <TObjective> objectives,
     IObjectivesValueMapper <TObjective, TObjectivesValue> mapper)
 {
     _objectives = objectives;
     _mapper     = mapper;
 }
 public EuclideanBasedOffspringSelector(IEnumerable <TObjective> objectives,
                                        IObjectivesValueMapper <TObjective, TObjectivesValue> mapper,
                                        IComparer <TObjectivesValue> comparer)
 {
     _objectives        = objectives;
     _mapper            = mapper;
     _offspringComparer = new ChromosomeFitnessComparer(comparer);
 }
Пример #3
0
 public NSGA2AllOffspringSelector(
     IEnumerable <TObjective> objectives,
     IObjectivesValueMapper <TObjective, TObjectivesValue> mapper)
     : base(objectives, mapper)
 {
 }
Пример #4
0
 public EuclideanLastFrontOffspringSelector(
     IEnumerable <TObjective> objectives,
     IObjectivesValueMapper <TObjective, TObjectivesValue> mapper) :
     base(objectives, mapper)
 {
 }