Node

abstract inner class Node

Constructors

Link copied to clipboard
fun Node()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val items: List<T>

Item list, depending on implementation the list can be shared between multiple nodes, meaning not all element within the list belong to this node. Therefore, when using this list one must consider nodeRange.

Link copied to clipboard
abstract val nodeRange: IntRange

Range within items in which elements belong to this node.

Link copied to clipboard
abstract val size: Int
Link copied to clipboard
var traversalOrder: Float = 0.0f

traversalOrder can be set to arbitrary values (e.g. temporarily computed distance values) during tree traversal by tree traversers.

Inheritors

Link copied to clipboard