Completed
Push — develop ( 9c8340...aed37e )
by Arkadiusz
02:48
created

Distance::euclidean()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 15
Code Lines 8

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 15
rs 9.4285
cc 3
eloc 8
nc 3
nop 2
1
<?php
2
3
declare (strict_types = 1);
4
5
namespace Phpml\Metric;
6
7
interface Distance
8
{
9
    /**
10
     * @param array $a
11
     * @param array $b
12
     *
13
     * @return float
14
     */
15
    public function distance(array $a, array $b): float;
0 ignored issues
show
Coding Style Best Practice introduced by
Please use __construct() instead of a PHP4-style constructor that is named after the class.
Loading history...
16
}
17