-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Collections_SuffixTreeBase_Node__ctor
Andrew Koryavchenko edited this page Jun 17, 2018
·
2 revisions
Constructs a new node
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
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
- 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)