line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Games::ABC_Path::Generator::Coord; |
2
|
|
|
|
|
|
|
$Games::ABC_Path::Generator::Coord::VERSION = '0.4.3'; |
3
|
2
|
|
|
2
|
|
35
|
use 5.006; |
|
2
|
|
|
|
|
6
|
|
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
11
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
49
|
|
6
|
2
|
|
|
2
|
|
18
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
51
|
|
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
10
|
use integer; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
24
|
|
9
|
|
|
|
|
|
|
|
10
|
2
|
|
|
2
|
|
73
|
use parent 'Games::ABC_Path::Solver::Coord'; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
11
|
|
11
|
|
|
|
|
|
|
|
12
|
2
|
|
|
2
|
|
128
|
use Games::ABC_Path::Solver::Constants; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
360
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _from_int |
16
|
|
|
|
|
|
|
{ |
17
|
76
|
|
|
76
|
|
136
|
my ( $class, $int ) = @_; |
18
|
76
|
|
|
|
|
242
|
return $class->new( { y => ( $int / $LEN ), x => ( $int % $LEN ) } ); |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; # End of Games::ABC_Path::Generator::Coord |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |