Pallas Solver  0.1
C++ Global Optimization Algorithms
Public Member Functions | Public Attributes | List of all members
pallas::DifferentialEvolution::Summary Struct Reference

Contains a summary of the optimization. More...

#include <differential_evolution.h>

Collaboration diagram for pallas::DifferentialEvolution::Summary:
Collaboration graph
[legend]

Public Member Functions

 Summary ()
 Default constructor.
 
std::string BriefReport () const
 
std::string FullReport () const
 

Public Attributes

TerminationType termination_type
 
MutationStrategyType mutation_strategy
 
CrossoverStrategyType crossover_strategy
 
std::string message
 
double final_cost
 
GradientLocalMinimizer::Summary local_minimization_summary
 
unsigned int num_parameters
 
unsigned int num_iterations
 
double total_time_in_seconds
 
double local_minimization_time_in_seconds
 
double cost_evaluation_time_in_seconds
 
bool was_polished
 
HistorySeries history
 

Detailed Description

Contains a summary of the optimization.

This struct contains the result of the optimization and has convenience methods for printing reports of a completed optimization.

Member Function Documentation

string pallas::DifferentialEvolution::Summary::BriefReport ( ) const

A brief one line description of the state of the solver after termination.

string pallas::DifferentialEvolution::Summary::FullReport ( ) const

A full multi-line description of the state of the solver after termination.

Member Data Documentation

double pallas::DifferentialEvolution::Summary::cost_evaluation_time_in_seconds

time spent evaluating cost function (outside local minimization)

CrossoverStrategyType pallas::DifferentialEvolution::Summary::crossover_strategy

The crossover strategy to use. Should be one of BINOMIAL or EXPONENTIAL.

double pallas::DifferentialEvolution::Summary::final_cost

Cost of the problem (value of the objective function) after the optimization.

HistorySeries pallas::DifferentialEvolution::Summary::history

History of the system saved on the interval specified by the history_save_frequency option.

GradientLocalMinimizer::Summary pallas::DifferentialEvolution::Summary::local_minimization_summary

Summary from the local minimization polishing step (if performed).

double pallas::DifferentialEvolution::Summary::local_minimization_time_in_seconds

time spent in local minimizer (if polishing was done).

std::string pallas::DifferentialEvolution::Summary::message

Message describing why the solver terminated.

MutationStrategyType pallas::DifferentialEvolution::Summary::mutation_strategy

The mutation strategy to use. Should be one of BEST_1, RAND_1, RAND_TO_BEST_1, BEST_2, or RAND_2.

unsigned int pallas::DifferentialEvolution::Summary::num_iterations

Number of times the population was evolved

unsigned int pallas::DifferentialEvolution::Summary::num_parameters

Number of parameters in the problem.

TerminationType pallas::DifferentialEvolution::Summary::termination_type

Reason optimization was terminated

double pallas::DifferentialEvolution::Summary::total_time_in_seconds

total time elapsed in global minimizer

bool pallas::DifferentialEvolution::Summary::was_polished

whether global minimum was polished after differential evolution completed


The documentation for this struct was generated from the following files: