C# 클래스 SwarmOps.FitnessPrint

Prints parameters and fitness to Console. Useful in viewing the progress of meta-optimization. Works as a 'transparent' wrapper for the problem to be optimized. Note that feasibility is computed here.
상속: ProblemWrapper
파일 보기 프로젝트 열기: DanWBR/dwsim3

공개 메소드들

메소드 설명
BeginOptimizationRun ( ) : void

At beginning of new optimization run print a newline.

Fitness ( double parameters, double fitnessLimit, bool oldFeasible, bool newFeasible ) : double

Compute fitness of wrapped problem and print the result.

FitnessPrint ( Problem problem ) : System

Constructs a new object.

FitnessPrint ( Problem problem, bool formatAsArray ) : System

Constructs a new object.

메소드 상세

BeginOptimizationRun() 공개 메소드

At beginning of new optimization run print a newline.
public BeginOptimizationRun ( ) : void
리턴 void

Fitness() 공개 메소드

Compute fitness of wrapped problem and print the result.
public Fitness ( double parameters, double fitnessLimit, bool oldFeasible, bool newFeasible ) : double
parameters double
fitnessLimit double
oldFeasible bool
newFeasible bool
리턴 double

FitnessPrint() 공개 메소드

Constructs a new object.
public FitnessPrint ( Problem problem ) : System
problem Problem The problem being wrapped.
리턴 System

FitnessPrint() 공개 메소드

Constructs a new object.
public FitnessPrint ( Problem problem, bool formatAsArray ) : System
problem Problem The problem being wrapped.
formatAsArray bool Format output string as C# array.
리턴 System