NAME
Map::Tube::Node - Defines the node for Map::Tube
VERSION
Version 0.04
SYNOPSIS
Here is sample map
1 -------- 2
/ \ / \
/ \ / \
/ \ / \
0 ------ 6 ------- 3
\ / \ /
\ / \ /
\ / \ /
5 -------- 4
/
/
/
7
\
\
\
8
which can be defined as below:
{ 0 => [1,5,6], 1 => [0,2,6], 2 => [1,3,6], 3 => [2,4,6], 4 => [3,5,6], 5 => [0,4,6,7], 6 => [0,1,2,3,4,5], 7 => [5,8], 8 => [7],};
SUBROUTINES/METHODS
init()
This is the core method of the module, where we actually define the relationship among the diffrerent nodes. I have taken extra care to depict the relationship. However I would be more than happy to receieve any suggestion to improve the logic. Please note "Transport for London" is the owner of the data used here.
load_element()
This loads all the nodes defined. Currently covers only Bakerloo, Central, Circle, Victoria and Jubilee. I have been working hard to cover all the remaining. Please note this is still very experimental in nature.
AUTHOR
Mohammad S Anwar, <mohammad.anwar@yahoo.com>
BUGS
Please report any bugs or feature requests to bug-map-tube at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Map-Tube. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Map::Tube::Node
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
LICENSE AND COPYRIGHT
Copyright 2010 Mohammad S Anwar.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.