| | | 1 | | using System.Collections.Generic; |
| | | 2 | | using Itinero.Network; |
| | | 3 | | using Itinero.Routing.Alternatives; |
| | | 4 | | using Itinero.Snapping; |
| | | 5 | | |
| | | 6 | | namespace Itinero.Routing; |
| | | 7 | | |
| | | 8 | | internal class Router : IRouter, IRouterOneToOne, IRouterManyToMany, IRouterManyToOne, IRouterOneToMany, IRouterOneToOne |
| | | 9 | | { |
| | 34865 | 10 | | internal Router(RoutingNetwork network, RoutingSettings settings) |
| | 34865 | 11 | | { |
| | 34865 | 12 | | this.Network = network; |
| | 34865 | 13 | | this.Settings = settings; |
| | 34865 | 14 | | } |
| | | 15 | | |
| | 34883 | 16 | | public RoutingNetwork Network { get; } |
| | 34976 | 17 | | public RoutingSettings Settings { get; } |
| | 46570 | 18 | | public (SnapPoint sp, bool? direction) Source { get; internal set; } |
| | 247 | 19 | | public (SnapPoint sp, bool? direction) Target { get; internal set; } |
| | 34865 | 20 | | public IReadOnlyList<(SnapPoint sp, bool? direction)> Sources { get; internal set; } = null!; |
| | 57949 | 21 | | public IReadOnlyList<(SnapPoint sp, bool? direction)> Targets { get; internal set; } = null!; |
| | | 22 | | |
| | 34880 | 23 | | public AlternativeRouteSettings AlternativeRouteSettings { get; internal set; } = null!; |
| | | 24 | | } |