C# 클래스 SwarmOps.Optimizer

Base-class for an optimizer.
상속: Problem
파일 보기 프로젝트 열기: DanWBR/dwsim3 1 사용 예제들

공개 메소드들

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

Compute fitness by performing one optimization run.

Optimize ( ) : Result

Optimize using default parameters.

Optimize ( double parameters ) : Result

Perform one optimization run and return the best found solution.

Optimize ( double parameters, double fitnessLimit ) : Result

Perform one optimization run and return the best found solution.

Optimizer ( )

Construct the object. This does not set the Problem which has to be done before the optimizer is being run.

Optimizer ( Problem problem )

Construct the object.

보호된 메소드들

메소드 설명
Trace ( int iteration, double fitness, bool feasible ) : void

Trace fitness progress of optimization run.

메소드 상세

Fitness() 공개 메소드

Compute fitness by performing one optimization run.
public Fitness ( double parameters, double fitnessLimit ) : double
parameters double Control parameters for the optimizer.
fitnessLimit double Preemptive Fitness Limit
리턴 double

Optimize() 공개 메소드

Optimize using default parameters.
public Optimize ( ) : Result
리턴 Result

Optimize() 공개 메소드

Perform one optimization run and return the best found solution.
public Optimize ( double parameters ) : Result
parameters double Control parameters for the optimizer.
리턴 Result

Optimize() 공개 메소드

Perform one optimization run and return the best found solution.
public Optimize ( double parameters, double fitnessLimit ) : Result
parameters double Control parameters for the optimizer.
fitnessLimit double Preemptive Fitness Limit
리턴 Result

Optimizer() 공개 메소드

Construct the object. This does not set the Problem which has to be done before the optimizer is being run.
public Optimizer ( )

Optimizer() 공개 메소드

Construct the object.
public Optimizer ( Problem problem )
problem Problem Problem to optimize.

Trace() 보호된 메소드

Trace fitness progress of optimization run.
protected Trace ( int iteration, double fitness, bool feasible ) : void
iteration int Iteration number.
fitness double Best-found fitness for this optimization run.
feasible bool
리턴 void