Skip to content

Commit

Permalink
Updated CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
s-simoncelli committed Sep 2, 2024
1 parent c1bf7d8 commit d90ec6d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 1.1.0

- Added `number_of_function_evaluations` field in algorithms and serialised data. This fields
calculate the number of times individual's objectives and constraints are evaluated during an
evolution.
- Renamed struct to specify stopping condition values. For example,
the `StoppingConditionType::MaxGeneration(MaxGeneration(250))`
can be defined as `StoppingConditionType::MaxGeneration(MaxGenerationValue(250))`. This is done to avoid confusion
between the enum `StoppingConditionType` value and the value of the stopping condition.
- Added the following new stopping conditions: `MaxFunctionEvaluations`, `Any` and `All`. The first one stops the
evolution
after a maximum number of functon evaluations. The second and third allows to combine multiple condition. For example,
they allow to stop the algorithm when either a specific duration or evolution number are reached (using `Any`).

## 1.0.0

- Added new Python API to generate reference points with `DasDarren1998`. The new class
Expand Down
4 changes: 2 additions & 2 deletions src/algorithms/stopping_condition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ pub enum StoppingConditionType {
MaxGeneration(MaxGenerationValue),
/// Set a maximum number of function evaluations
MaxFunctionEvaluations(MaxFunctionEvaluationValue),
/// Stop when at least on condition is met
/// Stop when at least on condition is met (this acts as an OR operator)
Any(Vec<StoppingConditionType>),
/// Stop when all on conditions are met
/// Stop when all conditions are met (this acts as an AND operator)
All(Vec<StoppingConditionType>),
}

Expand Down

0 comments on commit d90ec6d

Please sign in to comment.