MCPcopy Create free account
hub / github.com/logpai/logparser / Node

Class Node

logparser/Spell/Spell.py:32–39  ·  view source on GitHub ↗

A node in prefix tree data structure

Source from the content-addressed store, hash-verified

30
31
32class Node:
33 """A node in prefix tree data structure"""
34
35 def __init__(self, token="", templateNo=0):
36 self.logClust = None
37 self.token = token
38 self.templateNo = templateNo
39 self.childD = dict()
40
41
42class LogParser:

Callers 2

addSeqToPrefixTreeMethod · 0.70
parseMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected