Options
All
  • Public
  • Public/Protected
  • All
Menu

Logoot treats each atom as seperate. However, in a real-world environment, it is not practical to treat each atom seperately. To save memory and CPU time, the algorithm groups together consecutive atoms into LogootNodes. A LogootNode is technically just a series of consecutive atoms with the same rclk (vector clock).

Hierarchy

  • LogootNode

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

known_position

known_position: number = 0

The position of the node in the local document.

length

length: number = 0

rclk

rclk: LogootInt = new LogootInt(0)

start

start: LogootPosition = new LogootPosition()

Accessors

end

  • The end of the node. Note that technically there is not an atom at this position, so it's fair game to have another node placed at this position.

    Returns LogootPosition

known_end_position

  • get known_end_position(): number

Methods

toString

  • toString(): string

Generated using TypeDoc