line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package AI::Pathfinding::OptimizeMultiple::ScanRun; |
2
|
|
|
|
|
|
|
$AI::Pathfinding::OptimizeMultiple::ScanRun::VERSION = '0.0.15'; |
3
|
2
|
|
|
2
|
|
15
|
use strict; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
59
|
|
4
|
2
|
|
|
2
|
|
13
|
use warnings; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
52
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
38
|
use 5.012; |
|
2
|
|
|
|
|
9
|
|
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
14
|
use MooX qw/late/; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
12
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has iters => (isa => 'Int', is => 'rw', required => 1); |
11
|
|
|
|
|
|
|
has scan_idx => (isa => 'Int', is => 'ro', required => 1); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub clone |
14
|
|
|
|
|
|
|
{ |
15
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
16
|
|
|
|
|
|
|
|
17
|
0
|
|
|
|
|
|
return ref($self)->new( |
18
|
|
|
|
|
|
|
{ |
19
|
|
|
|
|
|
|
iters => $self->iters(), |
20
|
|
|
|
|
|
|
scan_idx => $self->scan_idx(), |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; # End of AI::Pathfinding::OptimizeMultiple::ScanRun; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |