NAME

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

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.

AUTHOR

Erik Carlsson <info@code301.com>

COPYRIGHT

Copyright 2014 - Erik Carlsson

LICENSE

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