Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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. |
return | void |
public FitnessTrace ( |
||
chainedFitnessTrace | ||
numIterations | int | |
numIntervals | int | |
offset | double | |
return | 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. |
return | void |
public abstract Write ( |
||
writer | ||
return | void |
public WriteToFile ( string filename ) : void | ||
filename | string | Name of file. |
return | void |