Last change
on this file since 5111 was
5111,
checked in by cneumuel, 13 years ago
|
#1215
- improved exchangeability of crossover and mutation operators for parameter values
|
File size:
970 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using HeuristicLab.Core;
|
---|
6 | using HeuristicLab.Common;
|
---|
7 |
|
---|
8 | namespace HeuristicLab.Problems.MetaOptimization {
|
---|
9 | public delegate void MutateDelegate(IRandom random, IOptimizable configuartion, ParameterConfigurationManipulator pcmanip);
|
---|
10 | public delegate void CrossDelegate(IRandom random, IOptimizable configuartion, ParameterConfigurationCrossover pccross);
|
---|
11 |
|
---|
12 | public interface IOptimizable : IItem {
|
---|
13 | bool IsOptimizable { get; }
|
---|
14 | bool Optimize { get; set; }
|
---|
15 | ConstrainedValue ActualValue { get; set; }
|
---|
16 |
|
---|
17 | void Randomize(IRandom random);
|
---|
18 | void Mutate(IRandom random, MutateDelegate mutate, ParameterConfigurationManipulator pcmanip);
|
---|
19 | void Cross(IRandom random, IOptimizable other, CrossDelegate cross, ParameterConfigurationCrossover pccross);
|
---|
20 |
|
---|
21 | event EventHandler IsOptimizableChanged;
|
---|
22 | event EventHandler OptimizeChanged;
|
---|
23 | }
|
---|
24 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.