A evolutionary algorithm library for Dart. Given a population of agents, an evaluator (fitness function), and time, the algorithm will evolve the population until it crosses given fitness threshold.
Evolution Strategies, sometimes also referred to as Evolutionary Strategies, and Evolutionary Programming are search paradigms inspired by the principles of biological evolution. They belong to the family of evolutionary algorithms that address optimization problems by implementing a repeated process of stochastic variations followed by selection: in each iteration (or generation), new candidate solutions (or offspring) are generated from previous candidate solutions (parents), their fitness is evaluated, and the better candidate solutions are selected to become the generators for the next iteration.
Read more about differential evolution on Wikipedia.
Add this to your package's pubspec.yaml file:
dependencies: evo: "^1.0.1+1"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|1.0.1+1||Dec 8, 2017|
|1.0.1||Nov 25, 2017|
|1.0.0||Nov 25, 2017|
|0.0.3||Nov 25, 2017|
|0.0.2||Nov 25, 2017|
|0.0.1||Nov 25, 2017|
We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, web, other
No platform restriction found in primary library
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Fix analysis and formatting issues.
Analysis or formatting checks reported 12 hints.
Strong-mode analysis of
lib/src/agent.dartgave the following hint:
line: 2 col: 8
Unused import: './agent.dart'.
Strong-mode analysis of
lib/src/agentPool.dartgave the following hint:
line: 6 col: 17
The value of the local variable 'vector' isn't used.
Similar analysis of the following files failed:
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use
|Dart SDK||>=1.8.0 <2.0.0|