Passed
Pull Request — master (#206)
by Grega
02:08
created

NiaPy.Runner.getAlgorithm()   A

Complexity

Conditions 4

Size

Total Lines 18
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 4
eloc 10
nop 1
dl 0
loc 18
rs 9.9
c 0
b 0
f 0
1
# encoding=utf8
2
3
"""Python micro framework for building nature-inspired algorithms."""
4
5
from __future__ import print_function
6
7
8
from NiaPy import util, algorithms, benchmarks, task
9
from NiaPy.runner import Runner
10
11
__all__ = ["algorithms", "benchmarks", "util", "task", "Runner"]
12
__project__ = "NiaPy"
13
__version__ = "2.0.0rc4"
14
15
VERSION = "{0} v{1}".format(__project__, __version__)
16