Learn R Programming

flashlighttext (version 0.1.0)

TrieNode: TrieNode

Description

TrieNode is the trie node structure in Trie.

Arguments

Active bindings

ptr

has a single parameter new_ptr that accepts a new pointer to a TrieNode. It returns invisible(NULL)

Methods


Method new()

Usage

TrieNode$new(idx = NULL)

Arguments

idx

an integer. Node index

Returns

TrieNode


Method max_score()

Usage

TrieNode$max_score()

Returns

the node max score


Method clone()

The objects of this class are cloneable with this method.

Usage

TrieNode$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.