Метод | Описание | |
---|---|---|
Add ( int iteration, double fitness, bool feasible ) : void |
Add a fitness value to the trace at the given iteration number.
|
|
FitnessTrace ( |
Construct a new object.
|
|
Write ( |
Write fitness-trace to a TextWriter stream.
|
|
WriteToFile ( string filename ) : void |
Write fitness-trace to a file.
|
Метод | Описание | |
---|---|---|
Iteration ( int index ) : int |
Map fitness-trace index to optimization iteration.
|
|
Log ( int index, double fitness, bool feasible ) : void |
Log a fitness.
|
public Add ( int iteration, double fitness, bool feasible ) : void | ||
iteration | int | Iteration number of fitness. |
fitness | double | Fitness value to be traced. |
feasible | bool | Feasibility (constraint satisfaction) to be traced. |
Результат | void |
public FitnessTrace ( |
||
chainedFitnessTrace | ||
numIterations | int | |
numIntervals | int | |
offset | double | |
Результат | System.Diagnostics |
protected abstract Log ( int index, double fitness, bool feasible ) : void | ||
index | int | Index into fitness-trace, mapped from optimization iteration. |
fitness | double | Fitness value to log. |
feasible | bool | Feasibility (constraint satisfaction) to log. |
Результат | void |
public abstract Write ( |
||
writer | ||
Результат | void |
public WriteToFile ( string filename ) : void | ||
filename | string | Name of file. |
Результат | void |