NAME

Map::Metro::Graph::Route - What is a route?

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.

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.