Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Waypoint

A waypoint in the tree of positions. See CTotalOrder for a description of the tree.

Each waypoint is identified by its pair (senderID, counter).

Hierarchy

  • Waypoint

Index

Constructors

  • new Waypoint(senderID: string, counter: number, parentWaypoint: null | Waypoint, parentValueIndex: number, isRight: boolean): Waypoint

Properties

children: Waypoint[] = []

This waypoint's child waypoints in sort order: left children by valueIndex, then right children by reverse valueIndex, with ties broken by senderID.

Only CTotalOrder may mutate this array.

counter: number
isRight: boolean
parentValueIndex: number
parentWaypoint: null | Waypoint
senderID: string

Generated using TypeDoc