Skip to content

M_CodeJam_Collections_SuffixTreeBase_Node__ctor

Andrew Koryavchenko edited this page Jun 17, 2018 · 2 revisions

SuffixTreeBase.Node Constructor

Constructs a new node

Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public Node(
	int begin,
	int end,
	bool terminal,
	List<int> children = null
)

VB

Public Sub New ( 
	begin As Integer,
	end As Integer,
	terminal As Boolean,
	Optional children As List(Of Integer) = Nothing
)

F#

new : 
        begin : int * 
        end : int * 
        terminal : bool * 
        ?children : List<int> 
(* Defaults:
        let _children = defaultArg children null
*)
-> Node

Parameters

 

begin
Type: System.Int32
An edge start offset
end
Type: System.Int32
An edge end offset
terminal
Type: System.Boolean
Is the edge terminates the string or not
children (Optional)
Type: System.Collections.Generic.List(Int32)
A list of child nodes (edges)

See Also

Reference

SuffixTreeBase.Node Structure
CodeJam.Collections Namespace

Clone this wiki locally