CoverTreeNode: Cover Tree Node

Description Usage Arguments Value See Also

Description

Constructs a cover tree node. This constructor should proably never be called directly. Rather it should be called by CoverTree during its construction and subsequent updates.

Usage

1
CoverTreeNode(id, data, parent = NULL, distance = NULL)

Arguments

id

A unique index identifying the node being constructed within the cover tree

data

A valid R object containing the data represented by the node

parent

The parent node for the one being constructed (n/a for root node)

distance

Either a numeric value or a distance function [ f(data,data) -> numeric ]

Value

An initialized CoverTreeNode, fully connected as a child of 'parent'

See Also

CoverTree


mikemayer67/RCoverTree documentation built on May 29, 2019, 5:44 a.m.