gatelogue_aggregator.sources.line_builder.SeaLineBuilder

class gatelogue_aggregator.sources.line_builder.SeaLineBuilder(src: int, line: L)

Bases: LineBuilder[SeaLine, SeaStop]

__init__(src: int, line: L)

Methods

__init__(src, line)

add(*stations)

branch_detached(*[, join_back_at])

branch_off(*[, terminus])

connect(*[, until, until_before, one_way, ...])

connect_circle(*[, one_way, platform_codes, ...])

connect_to(station, *[, one_way, ...])

copy()

skip(*, until[, detached])

u_turn()

Attributes

default_backward_code

default_forward_code

Cn

alias of SeaConnection

Pt

alias of SeaDock

add(*stations: S)
branch_detached(*, join_back_at: str | None = None) Self
branch_off(*, terminus: str | None = None) Self
connect(*, until: str | None = None, until_before: str | None = None, one_way: dict[str, OneWay] | None = None, platform_codes: dict[str, tuple[PlatformCode, PlatformCode]] | None = None, forward_direction: DirectionLabel = 'DEFAULT_DIRECTION', backward_direction: DirectionLabel = 'DEFAULT_DIRECTION')
connect_circle(*, one_way: dict[str, OneWay] | None = None, platform_codes: dict[str, tuple[str | None, str | None]] | None = None, forward_direction: str | None = None, backward_direction: str | None = None)
connect_to(station: str | S, *, one_way: OneWay | None = None, forward_code: PlatformCode = 'DEFAULT_CODE', backward_code: PlatformCode = 'DEFAULT_CODE', forward_direction: DirectionLabel = 'DEFAULT_DIRECTION', backward_direction: DirectionLabel = 'DEFAULT_DIRECTION', **_)
copy() Self
default_backward_code = 'LINE_CODE'
default_forward_code = 'LINE_CODE'
prev_platform_backwards
prev_platform_forwards
skip(*, until: str, detached: bool = False)
station_list
u_turn() Self