File Coverage

blib/lib/AI/Pathfinding/OptimizeMultiple/SimulationResults.pm
Criterion Covered Total %
statement 11 13 84.6
branch n/a
condition n/a
subroutine 4 6 66.6
pod 2 2 100.0
total 17 21 80.9


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