de 1.0.3
de: ^1.0.3 copied to clipboard
Differential Evolution Optimization tool for Dart. The implementation supposes the objective function is a maximation and optimization parameters are customizable.
We analyzed this package on Feb 20, 2021, and awarded it 80 pub points (of a possible 110):
0/10 points: Provide a valid pubspec.yaml
Homepage URL is insecure.
Update the homepage
field and use a secure (https
) URL.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Package has an example
- Found example at:
example/de_example.dart
0/10 points: 20% or more of the public API has dartdoc comments
- 0 out of 15 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
20/20 points: Supports 2 of 2 possible platforms (native, js)
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: 'List' is deprecated and shouldn't be used.
lib/src/Solution.dart:22:15
╷
22 │ _values = List<double>(p);
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/src/Solution.dart
INFO: 'List' is deprecated and shouldn't be used.
lib/src/de_base.dart:17:18
╷
17 │ _solutions = List<Solution>(popsize);
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/src/de_base.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
pso | ^1.0.1 | 1.0.2 | 1.0.2 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analysed with
Pana 0.14.10
,
Dart 2.12.0-133.2.beta
.