AI-Pathfinding-AStar

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.07  Tue Aug   08 07:00:00 2006
	- Major changes introduced by Franc Carter which include:
		- Speed optimizations by using a different Heap module and slightly restructured hash
		- The welcome addition of a FindPathIncr() function that allows you to calculate paths in chunks
	These are major changes about which I am very excited.  Thank you again, Franc!

0.06  Mon Nov  28 19:00:00 2005
	- no changes, CPAN refused to update the version number so I resubmitted

0.05  Fri Nov  25 09:30:00 2005
	- fixed Makefile.PL to include a dependency on Heap::Simple::Perl to fix all the CPANTester reports

0.04  Mon Oct  17 17:30:00 2005
	- finally made findpath() aware of the context in which it was called and it will now return either an array or array reference accordingly
	- minor coding style tweaks
	- minor documentation edits

0.03  Sat Oct  15 21:00:00 2005
	- fixed a bug in the which successive calls of findPath() would fail to find an existing path
	- made a few minor documentation changes to be a little more clear

META.yml  view on Meta::CPAN

# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
name:         AI-Pathfinding-AStar
version:      0.10
version_from: lib/AI/Pathfinding/AStar.pm
installdirs:  site
requires:
    Heap::Binomial:                0
    Heap::Elem:                    0
    Test::More:                    0.11

distribution_type: module
generated_by: ExtUtils::MakeMaker version 6.30

Makefile.PL  view on Meta::CPAN

use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    'NAME'		=> 'AI::Pathfinding::AStar',
    'VERSION_FROM'	=> 'lib/AI/Pathfinding/AStar.pm', # finds $VERSION
    'PREREQ_PM'		=> {
				Heap::Binomial => 0, 
				Heap::Elem => 0, 
				Test::More => 0.11,
			   },
    ($] >= 5.005 ?
		(ABSTRACT_FROM	=> 'lib/AI/Pathfinding/AStar.pm',
		AUTHOR		=> 'Aaron Dalton <aaron@daltons.ca>') : ()),
);

t/01_AI-Pathfinding-AStar.t  view on Meta::CPAN

#########################

package AI::Pathfinding::AStar::Test;
use Test::More tests => 6;
BEGIN {
  use base AI::Pathfinding::AStar;
};

#########################

# Insert your test code below, the Test::More module is use()ed here so read
# its man page ( perldoc Test::More ) for help writing this test script.

#initialize a basic map
#This example module represents the following map:
#
#       . . . . . . .
#       . . . | . . .
#       @ . . | . . *
#       . . . | . . .
#       . . . . . . .
#

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.340 second using v1.00-cache-2.02-grep-82fe00e-cpan-585fae043c8 )