#236 closed feature request (done)
Operator to create a list of n-m out of k possible items
Reported by: | gkronber | Owned by: | gkronber |
---|---|---|---|
Priority: | lowest | Milestone: | HeuristicLab 3.3.0 |
Component: | ZZZ OBSOLETE: Operators.MetaProgramming | Version: | 3.1 |
Keywords: | Cc: |
Description
This could be useful for an experimenter.
For instance to run all possible combinations of selection and recombination operators.
- Selection: {Random, Tournament-2, Tournament-3, Rank, Proportional}
- Recombination: { OX, CX, ERX, ...}
The metaprogramming operator should create a sequence of length 1 from the set of selection operators. And another instance of the operator should create a sequence of length 1-4 from the set of recombination operators. With the SequentialComposer the two generated CombinedOperators could be composed together with a skeleton of a GA to result in a set of GAs with different settings.
Change History (5)
comment:1 Changed 17 years ago by gkronber
- Status changed from new to assigned
- Summary changed from Operator to create a sequence of n-m out of k possible operators to Operator to create a list of n-m out of k possible items
comment:2 Changed 17 years ago by gkronber
- Resolution set to fixed
- Status changed from assigned to closed
implemented with r486
comment:3 Changed 16 years ago by swagner
- Milestone changed from 3.1 to Iteration 0
Milestone 3.1 deleted
comment:4 Changed 14 years ago by swagner
- Milestone changed from Iteration 0 to Current
Milestone Iteration 0 deleted
comment:11 Changed 14 years ago by swagner
- Milestone changed from Current to HeuristicLab 3.3.0
Milestone Current deleted
Note: See
TracTickets for help on using
tickets.
Can be generalized to an operator that takes an ItemList and parameters n and m as input and generates all combinations of length n to m (in form of a new ItemList) containing subsets of the original ItemList.