C# Class Tup.Mahout4Net.Fpm.PfpGrowth.FPGrowth.FPTree

The Frequent Pattern Tree datastructure used for mining patterns using {@link FPGrowth} algorithm
ファイルを表示 Open project: tupunco/Tup.Mahout4Net Class Usage Examples

Public Properties

Property Type Description
ROOTNODEID int

Public Methods

Method Description
AddChild ( int parentNodeId, int childnodeId ) : void
AddCount ( int nodeId, long count ) : bool
AddHeaderCount ( int attributeValue, long count ) : void
AddHeaderNext ( int attributeValue, int nodeId ) : void
Attribute ( int nodeId ) : int
ChildAtIndex ( int nodeId, int index ) : int
ChildCount ( int nodeId ) : int
ChildWithAttribute ( int nodeId, int childAttribute ) : int
Clear ( ) : void
ClearConditional ( ) : void
Conditional ( int nodeId ) : int
Count ( int nodeId ) : long
CreateConditionalNode ( int attributeValue, long count ) : int
CreateNode ( int parentNodeId, int attributeValue, long count ) : int
CreateRootNode ( ) : int
FPTree ( ) : System
FPTree ( int size ) : System
GetAttributeAtIndex ( int index ) : int
GetHeaderNext ( int attributeValue ) : int
GetHeaderSupportCount ( int attributeValue ) : long
GetHeaderTableAttributes ( ) : int[]
GetHeaderTableCount ( ) : int
IsEmpty ( ) : bool
Next ( int nodeId ) : int
Parent ( int nodeId ) : int
RemoveHeaderNext ( int attributeValue ) : void
ReorderHeaderTable ( ) : void
ReplaceChild ( int parentNodeId, int replacableNode, int childnodeId ) : void
SetConditional ( int nodeId, int conditionalNode ) : bool
SetNext ( int nodeId, int nextNode ) : bool
SetParent ( int nodeId, int parentNode ) : bool

Private Methods

Method Description
GetHeaderIndex ( int attributeValue ) : int
Resize ( ) : void
ResizeChildren ( int nodeId ) : void
ResizeHeaderLookup ( int attributeValue ) : void
ResizeHeaderTable ( ) : void

Method Details

AddChild() public method

public AddChild ( int parentNodeId, int childnodeId ) : void
parentNodeId int
childnodeId int
return void

AddCount() public method

public AddCount ( int nodeId, long count ) : bool
nodeId int
count long
return bool

AddHeaderCount() public method

public AddHeaderCount ( int attributeValue, long count ) : void
attributeValue int
count long
return void

AddHeaderNext() public method

public AddHeaderNext ( int attributeValue, int nodeId ) : void
attributeValue int
nodeId int
return void

Attribute() public method

public Attribute ( int nodeId ) : int
nodeId int
return int

ChildAtIndex() public method

public ChildAtIndex ( int nodeId, int index ) : int
nodeId int
index int
return int

ChildCount() public method

public ChildCount ( int nodeId ) : int
nodeId int
return int

ChildWithAttribute() public method

public ChildWithAttribute ( int nodeId, int childAttribute ) : int
nodeId int
childAttribute int
return int

Clear() public method

public Clear ( ) : void
return void

ClearConditional() public method

public ClearConditional ( ) : void
return void

Conditional() public method

public Conditional ( int nodeId ) : int
nodeId int
return int

Count() public method

public Count ( int nodeId ) : long
nodeId int
return long

CreateConditionalNode() public method

public CreateConditionalNode ( int attributeValue, long count ) : int
attributeValue int
count long
return int

CreateNode() public method

public CreateNode ( int parentNodeId, int attributeValue, long count ) : int
parentNodeId int
attributeValue int
count long
return int

CreateRootNode() public method

public CreateRootNode ( ) : int
return int

FPTree() public method

public FPTree ( ) : System
return System

FPTree() public method

public FPTree ( int size ) : System
size int
return System

GetAttributeAtIndex() public method

public GetAttributeAtIndex ( int index ) : int
index int
return int

GetHeaderNext() public method

public GetHeaderNext ( int attributeValue ) : int
attributeValue int
return int

GetHeaderSupportCount() public method

public GetHeaderSupportCount ( int attributeValue ) : long
attributeValue int
return long

GetHeaderTableAttributes() public method

public GetHeaderTableAttributes ( ) : int[]
return int[]

GetHeaderTableCount() public method

public GetHeaderTableCount ( ) : int
return int

IsEmpty() public method

public IsEmpty ( ) : bool
return bool

Next() public method

public Next ( int nodeId ) : int
nodeId int
return int

Parent() public method

public Parent ( int nodeId ) : int
nodeId int
return int

RemoveHeaderNext() public method

public RemoveHeaderNext ( int attributeValue ) : void
attributeValue int
return void

ReorderHeaderTable() public method

public ReorderHeaderTable ( ) : void
return void

ReplaceChild() public method

public ReplaceChild ( int parentNodeId, int replacableNode, int childnodeId ) : void
parentNodeId int
replacableNode int
childnodeId int
return void

SetConditional() public method

public SetConditional ( int nodeId, int conditionalNode ) : bool
nodeId int
conditionalNode int
return bool

SetNext() public method

public SetNext ( int nodeId, int nextNode ) : bool
nodeId int
nextNode int
return bool

SetParent() public method

public SetParent ( int nodeId, int parentNode ) : bool
nodeId int
parentNode int
return bool

Property Details

ROOTNODEID public_oe static_oe property

public static int ROOTNODEID
return int