line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Games::ABC_Path::Solver::Constants; |
2
|
|
|
|
|
|
|
$Games::ABC_Path::Solver::Constants::VERSION = '0.6.2'; |
3
|
2
|
|
|
2
|
|
14
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
57
|
|
4
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
52
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
468
|
use parent 'Exporter'; |
|
2
|
|
|
|
|
337
|
|
|
2
|
|
|
|
|
11
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $LEN = 5; |
10
|
|
|
|
|
|
|
our $LEN_LIM = $LEN - 1; |
11
|
|
|
|
|
|
|
our $BOARD_SIZE = $LEN * $LEN; |
12
|
|
|
|
|
|
|
our $Y = 0; |
13
|
|
|
|
|
|
|
our $X = 1; |
14
|
|
|
|
|
|
|
our @letters = (qw(A B C D E F G H I J K L M N O P Q R S T U V W X Y)); |
15
|
|
|
|
|
|
|
our $NUM_CLUES = ( 2 + $LEN + $LEN ); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $ABCP_MAX_LETTER = $#letters; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
our @EXPORT = |
20
|
|
|
|
|
|
|
(qw($X $Y $NUM_CLUES @letters $LEN $LEN_LIM $BOARD_SIZE $ABCP_MAX_LETTER)); |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |