• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux Algorithm::Metric::Chessboard Download

Algorithm::Metric::Chessboard

May 28, 2009
This software can calculate distances on a square grid using the 'chessboard metric' and also includes the option to add wormholes.
Version 0.01
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Kake L Pugh
Algorithm::Metric::Chessboard is a Perl module that enables the calculation of distances on an optional square grid with wormholes. This is achieved through the use of the 'chessboard metric' which calculates the minimum number of moves required to get from one point to another in a game played on a square grid, whereby one move entails jumping from a point to a horizontal, vertical, or diagonal neighbour.

At its most basic level, the number of moves required to go from one point to another (let's say between (x1, y1) and (x2, y2)) would be easily determined through: d( (x1, y1), (x2, y2)) = max( abs( x1 - x2 ), abs( y1 - y2)). However, within the space lies 'wormholes' which allow for the travel between two distant points. This means that the actual number of moves required may be lower than that determined through the above equation. The cost of wormhole travel has a fixed number of moves associated with it.

In order to implement the above-mentioned functionalities, the Perl module utilizes the following SYNOPSIS: my @wormholes = (
Algorithm::Metric::Chessboard::Wormhole->new( x => 5, y => 30 ), Algorithm::Metric::Chessboard::Wormhole->new( x => 98, y => 99 ), );
my $grid = Algorithm::Metric::Chessboard->new( x_range => [ 0, 99 ], y_range => [ 0, 99 ], wormholes => @wormholes, wormhole_cost => 3, );
my $wormhole = $grid->nearest_wormhole( x => 26, y => 53 );
my $journey = $grid->shortest_journey(start => [1, 6], end => [80, 1]);

Overall, Algorithm::Metric::Chessboard is a highly effective Perl module that enables users to determine the shortest journey required to travel between two points on a square grid, taking into account the presence and cost of wormholes. The module is easy to navigate and can be a great addition to any software suite requiring distance calculations.
What's New

Version 0.01: N/A

Free Download 4.1K
311
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    155
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    92
  4. SlideMap 1.2.2
    82
  5. CherryTV 0.1
    81
  6. porm r2
    79
  7. Swiftfox 3.0b5pre-2
    77
  8. Java Games 1.0
    76
  9. Clewarecontrol 0.8
    75
  10. fuseftp 0.8
    74

Related Downloads

BlueHeart
BlueHeart is a Gnome theme that offers a sleek and stylish interface ...
Pawn Project
Pawn Project is a user-friendly desktop application designed for pawn shops. It ...
django-flatcontent
This software is a Django-based flatpages application. It allows users to easily ...
Makepack
Makepack compiles software using a Makefile, rule files, and a settings file. ...
Amun
Amun is a python-based honeypot software that captures self-replicating malware, particularly Nepenthes. ...
ind
The "ind" software indents the output received from a subprocess, making it ...
Torta
Torta is a software tool that helps users track their disk space ...
AsmEdit
AsmEdit is a software that resembles an old Intel editor and incorporates ...
odict
Python software odict provides an implementation of the odict dictionary. Example usage: ...
xslet/xsldo
Xsldo is a library under xslet project that simplifies the development of ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.