view release on metacpan or search on metacpan
141516171819202122232425262728293031323334
"Module::Build"
=>
"0.28"
},
"dist_abstract"
=>
"optimize path finding searches for a large set of initial conditions (for better average performance)."
,
"dist_author"
=> [
"Shlomi Fish <shlomif\@cpan.org>"
],
"dist_name"
=>
"AI-Pathfinding-OptimizeMultiple"
,
"dist_version"
=>
"0.0.17"
,
"license"
=>
"mit"
,
"module_name"
=>
"AI::Pathfinding::OptimizeMultiple"
,
"recursive_test_files"
=> 1,
"requires"
=> {
"Carp"
=> 0,
"Exception::Class"
=> 0,
"File::Path"
=> 0,
"Getopt::Long"
=> 0,
"IO::File"
=> 0,
"MooX"
=> 0,
"MooX::Types::MooseLike::Base"
=> 0,
"MooX::late"
=>
"0.007"
,
"PDL"
=> 0,
363738394041424344454647484950515253545556575859606162636465666768697071727374
"Scalar::Util"
=> 0,
"autodie"
=> 0,
"perl"
=>
"5.012"
,
"strict"
=> 0,
"vars"
=> 0,
"warnings"
=> 0
},
"script_files"
=> [
"bin/optimize-game-ai-multi-tasking"
],
"test_requires"
=> {
"File::Spec"
=> 0,
"IO::Handle"
=> 0,
"IPC::Open3"
=> 0,
"Test::Differences"
=> 0,
"Test::More"
=>
"0.88"
}
);
my
%fallback_build_requires
= (
"File::Spec"
=> 0,
"IO::Handle"
=> 0,
"IPC::Open3"
=> 0,
"Module::Build"
=>
"0.28"
,
"Test::Differences"
=> 0,
"Test::More"
=>
"0.88"
);
unless
(
eval
{ Module::Build->VERSION(0.4004) } ) {
delete
$module_build_args
{test_requires};
$module_build_args
{build_requires} = \
%fallback_build_requires
;
}
my
$build
= Module::Build->new(
%module_build_args
);
$build
->create_build_script;
1234567891011120.0.17 2022-10-27
- Fix tests
with
latest PDL.
- Thanks to SREZIC
0.0.16 2020-10-20
- dist.ini / weaver.ini / .tidyallrc / etc. cleanup
- Move to
@SHLOMIF
- Inspired by Lady_Aleena.
v0.0.15 2017-05-01
- Skip adding ~$ files to the MANIFEST.
1415161718192021222324252627282930313233343536373839404142434445464748
- Thanks to Toby Inkster.
v0.0.14 2017-05-01
- Fix a bug where a pdl was passed instead of an
int
.
- Thanks to Slaven Rezic and Toby Inkster.
v0.0.13 2016-04-20
- Improve the exception handling due to a non-Exception::Class error:
- Thanks also to the example code in
- Add Test::Kwalitee::Extra.
v0.0.12 2015-03-26
- Add the stats_factors option to the
lib/AI/Pathfinding/OptimizeMultiple.pm constructor.
- Contains some factors to normalise the iters of specific scans.
- Add the --stats-factors option to ::CmdLine.
- Allow to customise the --total-iterations-limit using
$ENV
{FC_SOLVE_RANGE_ITERS_LIMIT} .
v0.0.11 2014-03-29
- Move the external-deps-using release tests to xt/ instead of t/
- Better Kwalitee.
- Thanks to
"ether"
on
#distzilla for the insights on fixing it.
v0.0.10 2014-03-28
- Convert to the Test::CPAN::Changes Dist-Zilla plugin.
v0.0.9 2014-03-28
- Add an explicit symbol
import
on
"use PDL"
/etc.
- Add get_scan_ids_aref() and lookup_scan_idx_based_on_id() to
AI::Pathfinding::OptimizeMultiple::DataInputObj .
626364656667686970717273747576777879808182
- Now it's Build.PL-only.
- Add provides to the META.yml.
v0.0.6 2014-01-25
- Add
"use strict;"
and
"use warnings;"
to MooX::late modules.
- Kwalitee
- Remove the ^Rejects and ^scripts
sub
-directories.
- They were confusing CPANTS and reduced
our
Kwalitee.
v0.0.5 2013-01-22
- skipping compile test
for
scripts/bump-version-number.pl .
non-essential prereqs.
v0.0.4 2013-01-20
- Add missing Prerequisites
- MooX::late
- MooX::Types::MooseLike::Base
v0.0.3 2013-01-18
13141516171819202122232425262728293031lib/AI/Pathfinding/OptimizeMultiple/App/CmdLine.pm
lib/AI/Pathfinding/OptimizeMultiple/DataInputObj.pm
lib/AI/Pathfinding/OptimizeMultiple/IterState.pm
lib/AI/Pathfinding/OptimizeMultiple/PostProcessor.pm
lib/AI/Pathfinding/OptimizeMultiple/Scan.pm
lib/AI/Pathfinding/OptimizeMultiple/ScanRun.pm
lib/AI/Pathfinding/OptimizeMultiple/SimulationResults.pm
rejects.pod
t/00-compile.t
t/cmdline-app.t
t/optimize-multiple-full-test.t
t/style-trailing-space.t
weaver.ini
xt/author/eol.t
xt/author/
no
-tabs.t
xt/author/pod-coverage.t
xt/author/pod-syntax.t
xt/release/cpan-changes.t
xt/release/trailing-space.t
495051525354555657585960616263646566676869
"PDL"
:
"0"
,
"PDL::IO::FastRaw"
:
"0"
,
"Scalar::Util"
:
"0"
,
"autodie"
:
"0"
,
"perl"
:
"5.012"
,
"strict"
:
"0"
,
"vars"
:
"0"
,
"warnings"
:
"0"
}
},
"test"
: {
"requires"
: {
"File::Spec"
:
"0"
,
"IO::Handle"
:
"0"
,
"IPC::Open3"
:
"0"
,
"Test::Differences"
:
"0"
,
"Test::More"
:
"0.88"
}
}
},
"provides"
: {
115116117118119120121122123124125126127128129130131132133134135"version"
:
"0.0.17"
,
"x_Dist_Zilla"
: {
"perl"
: {
"version"
:
"5.034001"
},
"plugins"
: [
{
"class"
:
"Dist::Zilla::Plugin::Prereqs"
,
"config"
: {
"Dist::Zilla::Plugin::Prereqs"
: {
"phase"
:
"test"
,
"type"
:
"requires"
}
},
"name"
:
"@Filter/TestMoreDoneTesting"
,
"version"
:
"6.024"
},
{
"class"
:
"Dist::Zilla::Plugin::AutoPrereqs"
,
"name"
:
"@Filter/AutoPrereqs"
,
"version"
:
"6.024"
282283284285286287288289290291292293294295296297298299300301302
"config"
: {
"Dist::Zilla::Plugin::Test::Compile"
: {
"bail_out_on_fail"
: 0,
"fail_on_warning"
:
"author"
,
"fake_home"
: 0,
"filename"
:
"t/00-compile.t"
,
"module_finder"
: [
":InstallModules"
],
"needs_display"
: 0,
"phase"
:
"test"
,
"script_finder"
: [
":PerlExecFiles"
],
"skips"
: [],
"switch"
: []
}
},
"name"
:
"@Filter/Test::Compile"
,
"version"
:
"2.058"
},
666768697071727374757677787980818283848586version: 0.0.17
x_Dist_Zilla:
perl:
version:
'5.034001'
plugins:
-
class: Dist::Zilla::Plugin::Prereqs
config:
Dist::Zilla::Plugin::Prereqs:
phase: test
type: requires
name:
'@Filter/TestMoreDoneTesting'
version:
'6.024'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name:
'@Filter/AutoPrereqs'
version:
'6.024'
-
class: Dist::Zilla::Plugin::ExecDir
name:
'@Filter/ExecDir'
196197198199200201202203204205206207208209210211212213214215216
class: Dist::Zilla::Plugin::Test::Compile
config:
Dist::Zilla::Plugin::Test::Compile:
bail_out_on_fail:
'0'
fail_on_warning: author
fake_home: 0
filename: t/00-compile.t
module_finder:
-
':InstallModules'
needs_display: 0
phase: test
script_finder:
-
':PerlExecFiles'
skips: []
switch: []
name:
'@Filter/Test::Compile'
version:
'2.058'
-
class: Dist::Zilla::Plugin::Test::CPAN::Changes
config:
Dist::Zilla::Plugin::Test::CPAN::Changes:
bin/optimize-game-ai-multi-tasking view on Meta::CPAN
3738394041424344454647484950515253545556optimize-game-ai-multi-tasking - command line driver
for
L<AI::Pathfinding::OptimizeMultiple>
=head1 VERSION
version 0.0.17
=head1 DESCRIPTION
To be written.
=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
=head1 SUPPORT
=head2 Websites
The following websites have more information about this module, and may be of help to you. As always,
in addition to those websites please use your favorite search engine to discover more resources.
=over 4
bin/optimize-game-ai-multi-tasking view on Meta::CPAN
767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114CPANTS
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
=item *
CPAN Testers
The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
=item *
CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
=item *
CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
=back
=head2 Bugs / Feature Requests
Please report any bugs or feature requests by email to C<bug-ai-pathfinding-optimizemultiple at rt.cpan.org>, or through
the web interface at L<https://rt.cpan.org/Public/Bug/Report.html?Queue=AI-Pathfinding-OptimizeMultiple>. You will be automatically notified of any
progress on the request by the system.
=head2 Source Code
bin/optimize-game-ai-multi-tasking view on Meta::CPAN
123124125126127128129130131132133134135136137138139140141142143=head1 AUTHOR
Shlomi Fish <shlomif@cpan.org>
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Shlomi Fish.
This is free software, licensed under:
The MIT (X11) License
lib/AI/Pathfinding/OptimizeMultiple.pm view on Meta::CPAN
742743744745746747748749750751752753754755756757758759760761=head2 $calc_meta_scan->calc_meta_scan()
Calculates the meta-scan after initialisation. See here for the details
of the algorithm:
L<http://www.shlomifish.org/lecture/Freecell-Solver/The-Next-Pres/slides/multi-tasking/best-meta-scan/>
=head2 $self->calc_flares_meta_scan()
This function calculates the flares meta-scan: i.e: assuming that all atomic
scans are run one after the other and the shortest solutions of all
successful scans are being picked.
=head2 $calc_meta_scan->calc_board_iters($board_idx)
Calculates the iterations of the board $board_idx in all the scans.
Returns a hash_ref containing the key 'per_scan_iters' for the iterations
per scan, and 'board_iters' for the total board iterations when ran in the
scans.
lib/AI/Pathfinding/OptimizeMultiple.pm view on Meta::CPAN
811812813814815816817818819820821822823824825826827828829830=head1 AUTHOR
Shlomi Fish, L<http://www.shlomifish.org/> .
=head1 ACKNOWLEDGEMENTS
B<popl> from Freenode's #perl for trying to dig some references to an existing
algorithm in the scientific literature.
=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
=head1 SUPPORT
=head2 Websites
The following websites have more information about this module, and may be of help to you. As always,
in addition to those websites please use your favorite search engine to discover more resources.
=over 4
lib/AI/Pathfinding/OptimizeMultiple.pm view on Meta::CPAN
850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888CPANTS
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
=item *
CPAN Testers
The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
=item *
CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
=item *
CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
=back
=head2 Bugs / Feature Requests
Please report any bugs or feature requests by email to C<bug-ai-pathfinding-optimizemultiple at rt.cpan.org>, or through
the web interface at L<https://rt.cpan.org/Public/Bug/Report.html?Queue=AI-Pathfinding-OptimizeMultiple>. You will be automatically notified of any
progress on the request by the system.
=head2 Source Code
lib/AI/Pathfinding/OptimizeMultiple.pm view on Meta::CPAN
897898899900901902903904905906907908909910911912913914915916917=head1 AUTHOR
Shlomi Fish <shlomif@cpan.org>
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Shlomi Fish.
This is free software, licensed under:
The MIT (X11) License
lib/AI/Pathfinding/OptimizeMultiple/App/CmdLine.pm view on Meta::CPAN
588589590591592593594595596597598599600601602603604605606607=head2 $self->input_obj_class()
The class to handle the input data - by default -
L<AI::Pathfinding::OptimizeMultiple::DataInputObj>.
=head2 BUILD()
Moo leftover. B<INTERNAL USE>.
=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
=head1 SUPPORT
=head2 Websites
The following websites have more information about this module, and may be of help to you. As always,
in addition to those websites please use your favorite search engine to discover more resources.
=over 4
lib/AI/Pathfinding/OptimizeMultiple/App/CmdLine.pm view on Meta::CPAN
627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665CPANTS
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
=item *
CPAN Testers
The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
=item *
CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
=item *
CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
=back
=head2 Bugs / Feature Requests
Please report any bugs or feature requests by email to C<bug-ai-pathfinding-optimizemultiple at rt.cpan.org>, or through
the web interface at L<https://rt.cpan.org/Public/Bug/Report.html?Queue=AI-Pathfinding-OptimizeMultiple>. You will be automatically notified of any
progress on the request by the system.
=head2 Source Code
lib/AI/Pathfinding/OptimizeMultiple/App/CmdLine.pm view on Meta::CPAN
674675676677678679680681682683684685686687688689690691692693694=head1 AUTHOR
Shlomi Fish <shlomif@cpan.org>
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Shlomi Fish.
This is free software, licensed under:
The MIT (X11) License
lib/AI/Pathfinding/OptimizeMultiple/DataInputObj.pm view on Meta::CPAN
485486487488489490491492493494495496497498499500501502503504=head2 $self->get_scan_ids_aref()
Get an array reference of the scan IDs.
=head2 my $idx = $self->lookup_scan_idx_based_on_id($scan_id)
$scan_id is a string and lookup_scan_idx_based_on_id() looks up its index
in the scans.
=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
=head1 SUPPORT
=head2 Websites
The following websites have more information about this module, and may be of help to you. As always,
in addition to those websites please use your favorite search engine to discover more resources.
=over 4
lib/AI/Pathfinding/OptimizeMultiple/DataInputObj.pm view on Meta::CPAN
524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562CPANTS
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
=item *
CPAN Testers
The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
=item *
CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
=item *
CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
=back
=head2 Bugs / Feature Requests
Please report any bugs or feature requests by email to C<bug-ai-pathfinding-optimizemultiple at rt.cpan.org>, or through
the web interface at L<https://rt.cpan.org/Public/Bug/Report.html?Queue=AI-Pathfinding-OptimizeMultiple>. You will be automatically notified of any
progress on the request by the system.
=head2 Source Code
lib/AI/Pathfinding/OptimizeMultiple/DataInputObj.pm view on Meta::CPAN
571572573574575576577578579580581582583584585586587588589590591=head1 AUTHOR
Shlomi Fish <shlomif@cpan.org>
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Shlomi Fish.
This is free software, licensed under:
The MIT (X11) License
lib/AI/Pathfinding/OptimizeMultiple/IterState.pm view on Meta::CPAN
186187188189190191192193194195196197198199200201202203204205Internal
use
.
=head2 $self->update_idx_slice()
Internal use.
=head2 $self->register_params()
Internal use.
=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
=head1 SUPPORT
=head2 Websites
The following websites have more information about this module, and may be of help to you. As always,
in addition to those websites please use your favorite search engine to discover more resources.
=over 4
lib/AI/Pathfinding/OptimizeMultiple/IterState.pm view on Meta::CPAN
225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263CPANTS
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
=item *
CPAN Testers
The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
=item *
CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
=item *
CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
=back
=head2 Bugs / Feature Requests
Please report any bugs or feature requests by email to C<bug-ai-pathfinding-optimizemultiple at rt.cpan.org>, or through
the web interface at L<https://rt.cpan.org/Public/Bug/Report.html?Queue=AI-Pathfinding-OptimizeMultiple>. You will be automatically notified of any
progress on the request by the system.
=head2 Source Code
lib/AI/Pathfinding/OptimizeMultiple/IterState.pm view on Meta::CPAN
272273274275276277278279280281282283284285286287288289290291292=head1 AUTHOR
Shlomi Fish <shlomif@cpan.org>
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Shlomi Fish.
This is free software, licensed under:
The MIT (X11) License
lib/AI/Pathfinding/OptimizeMultiple/PostProcessor.pm view on Meta::CPAN
888990919293949596979899100101102103104105106107=head1 SUBROUTINES/METHODS
=head2 $self->scans_rle()
For internal use.
=head2 $self->process($scans_orig)
For internal use.
=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
=head1 SUPPORT
=head2 Websites
The following websites have more information about this module, and may be of help to you. As always,
in addition to those websites please use your favorite search engine to discover more resources.
=over 4
lib/AI/Pathfinding/OptimizeMultiple/PostProcessor.pm view on Meta::CPAN
127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165CPANTS
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
=item *
CPAN Testers
The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
=item *
CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
=item *
CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
=back
=head2 Bugs / Feature Requests
Please report any bugs or feature requests by email to C<bug-ai-pathfinding-optimizemultiple at rt.cpan.org>, or through
the web interface at L<https://rt.cpan.org/Public/Bug/Report.html?Queue=AI-Pathfinding-OptimizeMultiple>. You will be automatically notified of any
progress on the request by the system.
=head2 Source Code
lib/AI/Pathfinding/OptimizeMultiple/PostProcessor.pm view on Meta::CPAN
174175176177178179180181182183184185186187188189190191192193194=head1 AUTHOR
Shlomi Fish <shlomif@cpan.org>
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Shlomi Fish.
This is free software, licensed under:
The MIT (X11) License
lib/AI/Pathfinding/OptimizeMultiple/Scan.pm view on Meta::CPAN
6970717273747576777879808182838485868788=head2 $self->is_used()
Returns whether the scan was used.
=head2 $scan->data_file_path()
Returns the path to the data file of the scan, where the numbers of iterations
per board are stored.
=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
=head1 SUPPORT
=head2 Websites
The following websites have more information about this module, and may be of help to you. As always,
in addition to those websites please use your favorite search engine to discover more resources.
=over 4
lib/AI/Pathfinding/OptimizeMultiple/Scan.pm view on Meta::CPAN
108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146CPANTS
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
=item *
CPAN Testers
The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
=item *
CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
=item *
CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
=back
=head2 Bugs / Feature Requests
Please report any bugs or feature requests by email to C<bug-ai-pathfinding-optimizemultiple at rt.cpan.org>, or through
the web interface at L<https://rt.cpan.org/Public/Bug/Report.html?Queue=AI-Pathfinding-OptimizeMultiple>. You will be automatically notified of any
progress on the request by the system.
=head2 Source Code
lib/AI/Pathfinding/OptimizeMultiple/Scan.pm view on Meta::CPAN
155156157158159160161162163164165166167168169170171172173174175=head1 AUTHOR
Shlomi Fish <shlomif@cpan.org>
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Shlomi Fish.
This is free software, licensed under:
The MIT (X11) License
lib/AI/Pathfinding/OptimizeMultiple/ScanRun.pm view on Meta::CPAN
7071727374757677787980818283848586878889=head1 AUTHOR
Shlomi Fish, L<http://www.shlomifish.org/> .
=head1 ACKNOWLEDGEMENTS
B<popl> from Freenode's #perl for trying to dig some references to an existing
algorithm in the scientific literature.
=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
=head1 SUPPORT
=head2 Websites
The following websites have more information about this module, and may be of help to you. As always,
in addition to those websites please use your favorite search engine to discover more resources.
=over 4
lib/AI/Pathfinding/OptimizeMultiple/ScanRun.pm view on Meta::CPAN
109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147CPANTS
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
=item *
CPAN Testers
The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
=item *
CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
=item *
CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
=back
=head2 Bugs / Feature Requests
Please report any bugs or feature requests by email to C<bug-ai-pathfinding-optimizemultiple at rt.cpan.org>, or through
the web interface at L<https://rt.cpan.org/Public/Bug/Report.html?Queue=AI-Pathfinding-OptimizeMultiple>. You will be automatically notified of any
progress on the request by the system.
=head2 Source Code
lib/AI/Pathfinding/OptimizeMultiple/ScanRun.pm view on Meta::CPAN
156157158159160161162163164165166167168169170171172173174175176=head1 AUTHOR
Shlomi Fish <shlomif@cpan.org>
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Shlomi Fish.
This is free software, licensed under:
The MIT (X11) License
lib/AI/Pathfinding/OptimizeMultiple/SimulationResults.pm view on Meta::CPAN
7071727374757677787980818283848586878889Returns the status.
=head1 SEE ALSO
L<AI::Pathfinding::OptimizeMultiple> , L<AI::Pathfinding::OptimizeMultiple::ScanRun> .
=head1 AUTHOR
Shlomi Fish, L<http://www.shlomifish.org/> .
=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
=head1 SUPPORT
=head2 Websites
The following websites have more information about this module, and may be of help to you. As always,
in addition to those websites please use your favorite search engine to discover more resources.
=over 4
lib/AI/Pathfinding/OptimizeMultiple/SimulationResults.pm view on Meta::CPAN
109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147CPANTS
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
=item *
CPAN Testers
The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
=item *
CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
=item *
CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
=back
=head2 Bugs / Feature Requests
Please report any bugs or feature requests by email to C<bug-ai-pathfinding-optimizemultiple at rt.cpan.org>, or through
the web interface at L<https://rt.cpan.org/Public/Bug/Report.html?Queue=AI-Pathfinding-OptimizeMultiple>. You will be automatically notified of any
progress on the request by the system.
=head2 Source Code
lib/AI/Pathfinding/OptimizeMultiple/SimulationResults.pm view on Meta::CPAN
156157158159160161162163164165166167168169170171172173174175176=head1 AUTHOR
Shlomi Fish <shlomif@cpan.org>
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Shlomi Fish.
This is free software, licensed under:
The MIT (X11) License
t/00-compile.t view on Meta::CPAN
12345678910111213141516171819use
5.006;
use
strict;
use
warnings;
# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058
use
Test::More;
plan
tests
=> 9 + (
$ENV
{AUTHOR_TESTING} ? 1 : 0);
my
@module_files
= (
'AI/Pathfinding/OptimizeMultiple.pm'
,
'AI/Pathfinding/OptimizeMultiple/App/CmdLine.pm'
,
'AI/Pathfinding/OptimizeMultiple/DataInputObj.pm'
,
'AI/Pathfinding/OptimizeMultiple/IterState.pm'
,
'AI/Pathfinding/OptimizeMultiple/PostProcessor.pm'
,
'AI/Pathfinding/OptimizeMultiple/Scan.pm'
,
'AI/Pathfinding/OptimizeMultiple/ScanRun.pm'
,
'AI/Pathfinding/OptimizeMultiple/SimulationResults.pm'
t/00-compile.t view on Meta::CPAN
626364656667686970717273747576777879808182838485868788899091929394959697}
foreach
my
$file
(
@scripts
)
{ SKIP: {
open
my
$fh
,
'<'
,
$file
or
warn
(
"Unable to open $file: $!"
),
next
;
my
$line
= <
$fh
>;
close
$fh
and skip(
"$file isn't perl"
, 1)
unless
$line
=~ /^
#!\s*(?:\S*perl\S*)((?:\s+-\w*)*)(?:\s*#.*)?$/;
@switches
= (
@switches
,
split
(
' '
, $1))
if
$1;
close
$fh
and skip(
"$file uses -T; not testable with PERL5LIB"
, 1)
if
grep
{
$_
eq
'-T'
}
@switches
and
$ENV
{PERL5LIB};
my
$stderr
= IO::Handle->new;
diag(
'Running: '
,
join
(
', '
,
map
{
my
$str
=
$_
;
$str
=~ s/
'/\\'
/g;
q{'}
.
$str
.
q{'}
}
$^X,
@switches
,
'-c'
,
$file
))
if
$ENV
{PERL_COMPILE_TEST_DEBUG};
my
$pid
= open3(
$stdin
,
'>&STDERR'
,
$stderr
, $^X,
@switches
,
'-c'
,
$file
);
binmode
$stderr
,
':crlf'
if
$^O eq
'MSWin32'
;
my
@_warnings
= <
$stderr
>;
waitpid
(
$pid
, 0);
is($?, 0,
"$file compiled ok"
);
shift
@_warnings
if
@_warnings
and
$_warnings
[0] =~ /^Using .*\bblib/
# in older perls, -c output is simply the file portion of the path being tested
if
(
@_warnings
=
grep
{ !/\bsyntax OK$/ }
grep
{
chomp
;
$_
ne (File::Spec->splitpath(
$file
))[2] }
@_warnings
)
{
warn
@_warnings
;
push
@warnings
,
@_warnings
;
}
} }
t/cmdline-app.t view on Meta::CPAN
8910111213141516171819202122232425262728eval
q{use Test::Trap qw( trap $trap :flow:stderr(systemsafe):stdout(systemsafe):warn );}
;
if
($@)
{
plan
skip_all
=>
"Test::Trap not found."
;
}
plan
tests
=> 6;
my
@running_modes
= (
{
blurb_base
=>
'modulino'
,
sub_ref
=>
sub
{
my
(
$flags
) =
@_
;
AI::Pathfinding::OptimizeMultiple::App::CmdLine->new(
{
argv
=> [
@$flags
],
},
t/optimize-multiple-full-test.t view on Meta::CPAN
123456789101112131415161718192021222324252627
t/optimize-multiple-full-test.t view on Meta::CPAN
63646566676869707172737475767778798081828384858687
name
=>
$scans_aref
->[
$_
->scan_idx ]->{name},
iters
=>
$_
->iters,
}
} @{
$obj
->chosen_scans() }
);
# TEST:$c++;
return
eq_or_diff( \
@have
,
$want_results
,
"$blurb - (eq_or_diff)"
, );
}
# TEST:$test_based_on_data=$c;
{
# TEST*$test_based_on_data
test_based_on_data(
[
{
name
=>
"first"
,
data
=> [ 200, 400, 500 ],
},
{
name
=>
"second"
,
data
=> [ 300, 50, 1000 ],
},
{
t/optimize-multiple-full-test.t view on Meta::CPAN
949596979899100101102103104105106107108109110111112113114115116117118119120
{
name
=>
"third"
,
iters
=> 200,
},
{
name
=>
"first"
,
iters
=> 500,
},
],
undef
(),
'Basic test'
,
);
}
{
# TEST*$test_based_on_data
test_based_on_data(
[
{
name
=>
"first"
,
data
=> [ 50_000, 100_000, 100_000, 1_000_000, 2_000_000 ],
},
{
name
=>
"second"
,
data
=> [ 100, 200, 200, 300, 300 ],
},
{
t/optimize-multiple-full-test.t view on Meta::CPAN
134135136137138139140141142143144145146147148149150151152153154155
},
],
{
first
=> 1000,
},
'Test the stats_factors'
,
);
}
{
# TEST*$test_based_on_data
test_based_on_data(
[
{
name
=>
"first"
,
data
=> [ 50_000, 99_500, 100_000, 1_000_000, 2_000_000 ],
},
{
name
=>
"second"
,
data
=> [ 100, 200, 200, 300, 300 ],
},
{
t/optimize-multiple-full-test.t view on Meta::CPAN
169170171172173174175176177178179180181182183184185186187188189190
},
],
{
first
=> 1000,
},
'Test fractional stats due to stats_factors'
,
);
}
{
# TEST*$test_based_on_data
test_based_on_data(
[
{
name
=>
"first"
,
data
=> [ 50_000, 99_500, 100_000, -1, -1, ],
},
{
name
=>
"second"
,
data
=> [ 100, 200, 200, 300, 300 ],
},
{
t/style-trailing-space.t view on Meta::CPAN
123456789101112131415161718192021222324#!/usr/bin/perl
use
strict;
use
warnings;
use
Test::More;
eval
"use Test::TrailingSpace"
;
if
($@)
{
plan
skip_all
=>
"Test::TrailingSpace required for trailing space test."
;
}
else
{
plan
tests
=> 1;
}
my
$finder
= Test::TrailingSpace->new(
{
root
=>
'.'
,
filename_regex
=>
qr/(?:(?:\.(?:t|pm|pl|PL|yml|json|arc|vim))|README|Changes|LICENSE)\z/
,
},
);
xt/author/eol.t view on Meta::CPAN
1234567891011121314151617181920212223242526use
strict;
use
warnings;
# this test was generated with Dist::Zilla::Plugin::Test::EOL 0.19
use
Test::More 0.88;
use
Test::EOL;
my
@files
= (
'bin/optimize-game-ai-multi-tasking'
,
'lib/AI/Pathfinding/OptimizeMultiple.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/App/CmdLine.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/DataInputObj.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/IterState.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/PostProcessor.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/Scan.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/ScanRun.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/SimulationResults.pm'
,
't/00-compile.t'
,
't/cmdline-app.t'
,
't/optimize-multiple-full-test.t'
,
't/style-trailing-space.t'
);
eol_unix_ok(
$_
, {
trailing_whitespace
=> 1 })
foreach
@files
;
done_testing;
xt/author/no-tabs.t view on Meta::CPAN
1234567891011121314151617181920212223242526use
strict;
use
warnings;
# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.15
use
Test::More 0.88;
use
Test::NoTabs;
my
@files
= (
'bin/optimize-game-ai-multi-tasking'
,
'lib/AI/Pathfinding/OptimizeMultiple.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/App/CmdLine.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/DataInputObj.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/IterState.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/PostProcessor.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/Scan.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/ScanRun.pm'
,
'lib/AI/Pathfinding/OptimizeMultiple/SimulationResults.pm'
,
't/00-compile.t'
,
't/cmdline-app.t'
,
't/optimize-multiple-full-test.t'
,
't/style-trailing-space.t'
);
notabs_ok(
$_
)
foreach
@files
;
done_testing;
xt/release/cpan-changes.t view on Meta::CPAN
12345678910use
strict;
use
warnings;
# this test was generated with Dist::Zilla::Plugin::Test::CPAN::Changes 0.012
use
Test::CPAN::Changes;
subtest
'changes_ok'
=>
sub
{
changes_file_ok(
'Changes'
);
};
xt/release/trailing-space.t view on Meta::CPAN
12345678910111213141516171819202122232425#!perl
use
strict;
use
warnings;
use
Test::More;
eval
"use Test::TrailingSpace"
;
if
($@)
{
plan
skip_all
=>
"Test::TrailingSpace required for trailing space test."
;
}
else
{
plan
tests
=> 1;
}
# TODO: add .pod, .PL, the README/Changes/TODO/etc. documents and possibly
# some other stuff.
my
$finder
= Test::TrailingSpace->new(
{
root
=>
'.'
,
filename_regex
=>
qr#(?:\.(?:t|pm|pl|xs|c|h|txt|pod|PL)|README|Changes|TODO|LICENSE)\z#
,
},
);