The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Map::Metro::Graph::Station - What is a station?

VERSION

Version 0.2202, released 2015-01-13.

DESCRIPTION

Stations represents actual stations, and are used both during the graph building phase and the navigational phase.

METHODS

id()

Returns the internal station id. Do not depend on this between executions.

name()

Returns the station name given in the parsed map file.

lines()

Returns an array of all Lines passing through the station.

connecting_stations()

Returns an array of all Stations directly (on at least one line) connected to this station.

SOURCE

https://github.com/Csson/p5-Map-Metro

HOMEPAGE

https://metacpan.org/release/Map-Metro

AUTHOR

Erik Carlsson <info@code301.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Erik Carlsson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.