line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Games::LMSolve::Registry; |
2
|
|
|
|
|
|
|
$Games::LMSolve::Registry::VERSION = '0.14.2'; |
3
|
1
|
|
|
1
|
|
1178
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
25
|
|
4
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
214
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
338
|
use Games::LMSolve; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
51
|
|
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
12
|
use vars qw(@ISA); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
58
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
@ISA = qw(Games::LMSolve); |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
6
|
use Games::LMSolve::Alice; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
14
|
1
|
|
|
1
|
|
537
|
use Games::LMSolve::Minotaur; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
41
|
|
15
|
1
|
|
|
1
|
|
7
|
use Games::LMSolve::Numbers; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
16
|
1
|
|
|
1
|
|
4
|
use Games::LMSolve::Plank::Base; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
17
|
1
|
|
|
1
|
|
4
|
use Games::LMSolve::Tilt::Single; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
18
|
1
|
|
|
1
|
|
4
|
use Games::LMSolve::Tilt::Multi; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
23
|
|
19
|
1
|
|
|
1
|
|
4
|
use Games::LMSolve::Tilt::RedBlue; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
34
|
|
20
|
1
|
|
|
1
|
|
5
|
use Games::LMSolve::Plank::Hex; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
92
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub register_all_solvers |
24
|
|
|
|
|
|
|
{ |
25
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
26
|
0
|
|
|
|
|
|
$self->register_solvers( |
27
|
|
|
|
|
|
|
{ |
28
|
|
|
|
|
|
|
'alice' => "Games::LMSolve::Alice", |
29
|
|
|
|
|
|
|
'minotaur' => "Games::LMSolve::Minotaur", |
30
|
|
|
|
|
|
|
'numbers' => "Games::LMSolve::Numbers", |
31
|
|
|
|
|
|
|
'plank' => "Games::LMSolve::Plank::Base", |
32
|
|
|
|
|
|
|
'hex_plank' => "Games::LMSolve::Plank::Hex", |
33
|
|
|
|
|
|
|
'tilt_single' => "Games::LMSolve::Tilt::Single", |
34
|
|
|
|
|
|
|
'tilt_multi' => "Games::LMSolve::Tilt::Multi", |
35
|
|
|
|
|
|
|
'tilt_rb' => "Games::LMSolve::Tilt::RedBlue", |
36
|
|
|
|
|
|
|
'tilt_puzzle' => "Games::LMSolve::Tilt::RedBlue", |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
); |
39
|
|
|
|
|
|
|
|
40
|
0
|
|
|
|
|
|
$self->set_default_variant("minotaur"); |
41
|
|
|
|
|
|
|
|
42
|
0
|
|
|
|
|
|
return 0; |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
1; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
__END__ |