C# 클래스 SwarmOps.RepeatSum

Performs a number of optimization runs and returns the sum of the fitnesses. Ignores feasibility (constraint satisfaction.) This allows for Preemptive Fitness Evaluation.
상속: Repeat
파일 보기 프로젝트 열기: DanWBR/dwsim3 1 사용 예제들

공개 메소드들

메소드 설명
Fitness ( double parameters, double fitnessLimit ) : double

Compute the fitness by repeating a number of optimization runs and sum the fitnesses achieved in the runs.

RepeatSum ( Optimizer optimizer, int numRuns ) : System.Diagnostics

Construct the object.

메소드 상세

Fitness() 공개 메소드

Compute the fitness by repeating a number of optimization runs and sum the fitnesses achieved in the runs.
public Fitness ( double parameters, double fitnessLimit ) : double
parameters double Parameters to use for the Optimizer.
fitnessLimit double Preemptive Fitness Limit
리턴 double

RepeatSum() 공개 메소드

Construct the object.
public RepeatSum ( Optimizer optimizer, int numRuns ) : System.Diagnostics
optimizer Optimizer Optimizer to use.
numRuns int Number of optimization runs to perform.
리턴 System.Diagnostics