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::Route - A sequence of line stations

VERSION

Version 0.2405, released 2016-07-23.

DESCRIPTION

A route is a specific sequence of Steps from one LineStation to another.

METHODS

all_steps()

Returns an array of the Steps in the route, in the order they are travelled.

weight()

Returns an integer representing the total 'cost' of all Connections on this route.

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) 2016 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.