| 1 | package Math::Histo::Sketch; | ||||||||||||
| 2 | |||||||||||||
| 3 | 11 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | 11 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | 11 | ▶ | use Math::Histo (); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 6 | |||||||||||||
| 7 | 11 | our $VERSION = '0.4.2'; | |||||||||||
| 8 | |||||||||||||
| 9 | |||||||||||||
| 10 | 2 | ▶ | sub new { | ||||||||||
|
Subroutine
new: called CC=3 SCAR=11.0
Pod
documented
| |||||||||||||
| 11 | 2 | my ($class, %args) = @_; | |||||||||||
| 12 | 2 | ▶ | my $alpha = $args{alpha} // 0.01; | ||||||||||
|
Condition50%1/2
$args{"alpha"} // "0.01"
MC/DC0%0/1
$args{"alpha"} // "0.01"
$args{"alpha"}
Truth table50%1/2
A
A= $args{"alpha"}
| |||||||||||||
| 13 | 2 | ▶ | my $max_bins = $args{max_bins} // 2048; | ||||||||||
|
Condition100%2/2
$args{"max_bins"} // 2048
MC/DC100%1/1
$args{"max_bins"} // 2048
$args{"max_bins"}
Truth table100%2/2
A
A= $args{"max_bins"}
| |||||||||||||
| 14 | 2 | return $class->_create($alpha, $max_bins); | |||||||||||
| 15 | } | ||||||||||||
| 16 | |||||||||||||
| 17 | 1 | ▶ | sub from_binary { | ||||||||||
|
Subroutine
from_binary: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||
| 18 | 1 | my ($class, $blob) = @_; | |||||||||||
| 19 | 1 | return $class->_deserialize_binary($blob); | |||||||||||
| 20 | } | ||||||||||||
| 21 | |||||||||||||
| 22 | 11 | *insert_packed = \&insert_packed_f64; | |||||||||||
| 23 | |||||||||||||
| 24 | 11 | 1; | |||||||||||
| 25 | |||||||||||||
| 26 | |||||||||||||
| 27 | __END__ | ||||||||||||