Open HeuristicLab-Trac-Bot opened 9 years ago
r13330 (not migrated): Deleted wrongly created for problem refactoring.
r13351: Adapted multi-encoding for new infrastructure
TODO: Evaluator, Analyzer, ... need to be copied
r13359: worked on multi-encoding (it works again). Some issues are still present:
- The programmable template needs to be slightly updated for multi-encoding
- The encoding is recreated every time it is compiled making it impossible to configure operators
r13364: Refactored IntegerVectorEncoding, KnapsackProblem, and P3.
r13373: adapted templates, fixed missing reference in outdated plugin lawnmower
r13382: added default ctor to SymbolicExpressionTreeEncoding (otherwise the parameter in Problem<..> cannot create it)
- Readded excluded views
- Removed ProblemInstanceProviderView which was not referenced in the project file
- Fixed plugin dependency
r13390: fixed template and bug in programmable problem with multi encoding
- Refactored QuadraticAssignmentProblem to use new SingleObjectiveProblem
- Removed QAPEvaluator
- Adapted RobustTabooSearch
- Introduced several interfaces in PermutationEncoding necessary for wiring
- Changed all Encodings to use IItem instead of IOperator in ConfigureOperators (name still unchanged)
- Added a protected MaximizationParameter property in SingleObjectiveProblem (necessary for wiring)
- Changed AlleleFrequencyAnalyzer to use ISolution interface instead of IItem
- Added a comment to ISolutionCreator
of some changes that would be welcomed
- Adapted single-objective test function problem to new problem infrastructure
- Added additional interfaces to RealVectorEncoding
- Fixed IParticleUpdater interface (must implement IStochasticOperator if it contains a Random parameter)
I'd like to suggest that we swap the generic type parameters from
Problem<TEncoding, TSolution>
toProblem<TSolution, TEncoding>
. The reason is that TSolution is limiting TEncoding and not vice versa. It feels strange to write the more limiting generic type parameter first.
- Adapted Knapsack problem to new problem infrastructure
- Introduced additional interfaces in binary vector encoding
- Improved KnapsackImprovementOperator which requires less evaluated solutions in case of an infeasible start solution
Loosely related change:
- All LookupParameters are now shown by default
- Wiring code should make sure that wired parameters are hidden
r13408: Adapted unit tests in problem refactoring branch.
All compile, some fail:
- SA Rastrigin example (missing move evaluators?)
- LS Knapsack example
r13422: Adapted type discovery and type selector to allow the creation of generic programmable problems.
r13435: Intermediate version of schedule encoding refactoring.
Issue migrated from trac ticket # 2521
milestone: HeuristicLab 4.0 | component: General | priority: medium
2015-11-23 09:47:12: @abeham created the issue