C# Class Algorithmix.Cluster

Inheritance: INode
Afficher le fichier Open project: Algorithmix/Papyrus Class Usage Examples

Méthodes publiques

Свойство Type Description
Id long

Méthodes publiques

Méthode 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 méthode

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
Résultat System

Flatten() public méthode

public Flatten ( List list ) : void
list List
Résultat void

IsLeaf() public méthode

public IsLeaf ( ) : bool
Résultat bool

Leaf() public méthode

public Leaf ( ) : Shred
Résultat Shred

Left() public méthode

public Left ( ) : INode
Résultat INode

LeftEdge() public méthode

public LeftEdge ( ) : Edge
Résultat Edge

LeftShred() public méthode

public LeftShred ( ) : Shred
Résultat Shred

MatchData() public méthode

public MatchData ( ) : MatchData
Résultat MatchData

Mirror() public méthode

public Mirror ( ) : void
Résultat void

OrphanChildren() public méthode

public OrphanChildren ( ) : void
Résultat void

Parent() public méthode

public Parent ( ) : INode
Résultat INode

Parent() public méthode

public Parent ( INode parent ) : void
parent INode
Résultat void

Right() public méthode

public Right ( ) : INode
Résultat INode

RightEdge() public méthode

public RightEdge ( ) : Edge
Résultat Edge

RightShred() public méthode

public RightShred ( ) : Shred
Résultat Shred

Root() public méthode

public Root ( ) : INode
Résultat INode

Root() public méthode

public Root ( INode root ) : void
root INode
Résultat void

Size() public méthode

public Size ( ) : int
Résultat int

ToJson() public méthode

public ToJson ( JsonTextWriter writer ) : void
writer Newtonsoft.Json.JsonTextWriter
Résultat void

Property Details

Id public_oe property

public long Id
Résultat long