de 1.0.3
de: ^1.0.3 copied to clipboard

Dart native js
Flutter Android iOS Linux macOS web Windows

Differential Evolution Optimization tool for Dart. The implementation supposes the objective function is a maximation and optimization parameters are customizable.

0
likes
80 / 110
pub points
0 %
popularity

We analyzed this package on Feb 20, 2021, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

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

Provide documentation
10 / 20

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.

Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

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

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
pso^1.0.11.0.21.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.

0
likes
80
pub points
0%
popularity

Differential Evolution Optimization tool for Dart. The implementation supposes the objective function is a maximation and optimization parameters are customizable.

Homepage

Documentation

API reference

Uploader

mhsatman@gmail.com

License

LGPL 3.0 (LICENSE)

Dependencies

pso

More

Packages that depend on de