line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package FLAT::DFA::Minimal; |
2
|
|
|
|
|
|
|
|
3
|
6
|
|
|
6
|
|
41
|
use strict; |
|
6
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
188
|
|
4
|
6
|
|
|
6
|
|
30
|
use warnings; |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
277
|
|
5
|
6
|
|
|
6
|
|
30
|
use parent qw(FLAT::DFA); |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
246
|
|
6
|
6
|
|
|
6
|
|
496
|
use Storable qw(dclone); |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
1165
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new { |
9
|
137
|
|
|
137
|
0
|
264
|
my $pkg = shift; |
10
|
137
|
|
|
|
|
726
|
my $self = $pkg->SUPER::new(@_); |
11
|
137
|
|
|
|
|
370
|
$self->{EQUIVALENCE_CLASSES} = []; |
12
|
137
|
|
|
|
|
266
|
return $self; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub get_equivalence_classes { |
16
|
5
|
|
|
5
|
1
|
4260
|
my $self = shift; |
17
|
5
|
|
|
|
|
30
|
return $self->{EQUIVALENCE_CLASSES}; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub set_equivalence_classes { |
21
|
137
|
|
|
137
|
1
|
231
|
my $self = shift; |
22
|
137
|
|
|
|
|
202
|
my $e_classes = shift; |
23
|
137
|
50
|
|
|
|
466
|
die qq{Must be an array reference\n} if ref $e_classes ne q{ARRAY}; |
24
|
137
|
|
|
|
|
345
|
$self->{EQUIVALENCE_CLASSES} = $e_classes; |
25
|
137
|
|
|
|
|
269
|
return $self->{EQUIVALENCE_CLASSES}; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |