C# Class Algorithmix.Cluster

Inheritance: INode
Datei anzeigen Open project: Algorithmix/Papyrus Class Usage Examples

Public Properties

Property Type Description
Id long

Public Methods

Method Description
Cluster ( INode left, INode right, Match match = Match.NonInverted, MatchData matchData = null ) : System

Clusters Two INodes together, sets new root/parent/left and right edges

Flatten ( List list ) : void
IsLeaf ( ) : bool
Leaf ( ) : Shred
Left ( ) : INode
LeftEdge ( ) : Edge
LeftShred ( ) : Shred
MatchData ( ) : MatchData
Mirror ( ) : void
OrphanChildren ( ) : void
Parent ( ) : INode
Parent ( INode parent ) : void
Right ( ) : INode
RightEdge ( ) : Edge
RightShred ( ) : Shred
Root ( ) : INode
Root ( INode root ) : void
Size ( ) : int
ToJson ( JsonTextWriter writer ) : void

Method Details

Cluster() public method

Clusters Two INodes together, sets new root/parent/left and right edges
public Cluster ( INode left, INode right, Match match = Match.NonInverted, MatchData matchData = null ) : System
left INode Node on the left
right INode Node on the Right
match Match Inverted or Not Inverted
matchData MatchData Optional MatchData variable, store clustering information
return System

Flatten() public method

public Flatten ( List list ) : void
list List
return void

IsLeaf() public method

public IsLeaf ( ) : bool
return bool

Leaf() public method

public Leaf ( ) : Shred
return Shred

Left() public method

public Left ( ) : INode
return INode

LeftEdge() public method

public LeftEdge ( ) : Edge
return Edge

LeftShred() public method

public LeftShred ( ) : Shred
return Shred

MatchData() public method

public MatchData ( ) : MatchData
return MatchData

Mirror() public method

public Mirror ( ) : void
return void

OrphanChildren() public method

public OrphanChildren ( ) : void
return void

Parent() public method

public Parent ( ) : INode
return INode

Parent() public method

public Parent ( INode parent ) : void
parent INode
return void

Right() public method

public Right ( ) : INode
return INode

RightEdge() public method

public RightEdge ( ) : Edge
return Edge

RightShred() public method

public RightShred ( ) : Shred
return Shred

Root() public method

public Root ( ) : INode
return INode

Root() public method

public Root ( INode root ) : void
root INode
return void

Size() public method

public Size ( ) : int
return int

ToJson() public method

public ToJson ( JsonTextWriter writer ) : void
writer Newtonsoft.Json.JsonTextWriter
return void

Property Details

Id public_oe property

public long Id
return long