메소드 | 설명 | |
---|---|---|
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 |