line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package AI::Pathfinding::OptimizeMultiple::SimulationResults; |
2
|
|
|
|
|
|
|
$AI::Pathfinding::OptimizeMultiple::SimulationResults::VERSION = '0.0.16'; |
3
|
2
|
|
|
2
|
|
15
|
use strict; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
61
|
|
4
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
47
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
32
|
use 5.012; |
|
2
|
|
|
|
|
7
|
|
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
11
|
use MooX qw/late/; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
11
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has status => ( isa => 'Str', is => 'ro', required => 1, ); |
11
|
|
|
|
|
|
|
has total_iters => ( isa => 'Int', is => 'ro', required => 1, ); |
12
|
|
|
|
|
|
|
has scan_runs => ( |
13
|
|
|
|
|
|
|
isa => 'ArrayRef[AI::Pathfinding::OptimizeMultiple::ScanRun]', |
14
|
|
|
|
|
|
|
is => 'ro', |
15
|
|
|
|
|
|
|
required => 1, |
16
|
|
|
|
|
|
|
); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub get_total_iters |
19
|
|
|
|
|
|
|
{ |
20
|
0
|
|
|
0
|
1
|
|
return shift->total_iters(); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub get_status |
24
|
|
|
|
|
|
|
{ |
25
|
0
|
|
|
0
|
1
|
|
return shift->status(); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=pod |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=encoding UTF-8 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 NAME |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
AI::Pathfinding::OptimizeMultiple::SimulationResults - the simulation results. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 VERSION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
version 0.0.16 |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 SYNOPSIS |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 DESCRIPTION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
A class for simulation results. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 SUBROUTINES/METHODS |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 $scan_run->status() |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
The status. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head2 $scan_run->total_iters() |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
The total iterations count so far. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head2 my $aref = $self->scan_runs() |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
An array reference of L<AI::Pathfinding::OptimizeMultiple::ScanRun> . |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head2 $self->get_total_iters() |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Returns the total iterations. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head2 $self->get_status() |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Returns the status. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 SEE ALSO |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
L<AI::Pathfinding::OptimizeMultiple> , L<AI::Pathfinding::OptimizeMultiple::ScanRun> . |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head1 AUTHOR |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Shlomi Fish, L<http://www.shlomifish.org/> . |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 SUPPORT |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 Websites |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
The following websites have more information about this module, and may be of help to you. As always, |
87
|
|
|
|
|
|
|
in addition to those websites please use your favorite search engine to discover more resources. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=over 4 |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=item * |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
MetaCPAN |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
A modern, open-source CPAN search engine, useful to view POD in HTML format. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
L<https://metacpan.org/release/AI-Pathfinding-OptimizeMultiple> |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=item * |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
RT: CPAN's Bug Tracker |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
The RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN. |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
L<https://rt.cpan.org/Public/Dist/Display.html?Name=AI-Pathfinding-OptimizeMultiple> |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=item * |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
CPANTS |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
L<http://cpants.cpanauthors.org/dist/AI-Pathfinding-OptimizeMultiple> |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=item * |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
CPAN Testers |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions. |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
L<http://www.cpantesters.org/distro/A/AI-Pathfinding-OptimizeMultiple> |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=item * |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
CPAN Testers Matrix |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms. |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
L<http://matrix.cpantesters.org/?dist=AI-Pathfinding-OptimizeMultiple> |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=item * |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
CPAN Testers Dependencies |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution. |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
L<http://deps.cpantesters.org/?module=AI::Pathfinding::OptimizeMultiple> |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=back |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=head2 Bugs / Feature Requests |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
Please report any bugs or feature requests by email to C<bug-ai-pathfinding-optimizemultiple at rt.cpan.org>, or through |
144
|
|
|
|
|
|
|
the web interface at L<https://rt.cpan.org/Public/Bug/Report.html?Queue=AI-Pathfinding-OptimizeMultiple>. You will be automatically notified of any |
145
|
|
|
|
|
|
|
progress on the request by the system. |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=head2 Source Code |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
The code is open to the world, and available for you to hack on. Please feel free to browse it and play |
150
|
|
|
|
|
|
|
with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull |
151
|
|
|
|
|
|
|
from your repository :) |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
L<http://github.com/shlomif/fc-solve> |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
git clone ssh://git@github.com/shlomif/fc-solve.git |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=head1 AUTHOR |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
Shlomi Fish <shlomif@cpan.org> |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=head1 BUGS |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
Please report any bugs or feature requests on the bugtracker website |
164
|
|
|
|
|
|
|
L<https://github.com/shlomif/ai-pathfinding-optimizemultiple/issues> |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
When submitting a bug or request, please include a test-file or a |
167
|
|
|
|
|
|
|
patch to an existing test-file that illustrates the bug or desired |
168
|
|
|
|
|
|
|
feature. |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
This software is Copyright (c) 2012 by Shlomi Fish. |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
This is free software, licensed under: |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
The MIT (X11) License |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=cut |