Package org.apache.sysds.runtime.iogen
Class MappingTrie
- java.lang.Object
-
- org.apache.sysds.runtime.iogen.MappingTrie
-
public class MappingTrie extends Object
-
-
Constructor Summary
Constructors Constructor Description MappingTrie()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayList<ArrayList<String>>getAllSequentialKeys()Set<String>getAllSubStringsOfStringContainIntersect(String str, BitSet bitSet)MappingTrieNodegetFistMultiChildNode(MappingTrieNode node)StringgetIntersectOfChildren(MappingTrieNode node)MappingTrieNodegetRoot()voidinsert(String word, int rowIndex)voidinsert(String word, ArrayList<Integer> rowIndexes)voidinsertKeys(ArrayList<String> keys)booleanreConstruct()voidreverseInsert(String word, int rowIndex)voidsetInALine(boolean inALine)voidsetWindowSize(int windowSize)
-
-
-
Method Detail
-
setInALine
public void setInALine(boolean inALine)
-
insert
public void insert(String word, int rowIndex)
-
reverseInsert
public void reverseInsert(String word, int rowIndex)
-
getFistMultiChildNode
public MappingTrieNode getFistMultiChildNode(MappingTrieNode node)
-
getAllSubStringsOfStringContainIntersect
public Set<String> getAllSubStringsOfStringContainIntersect(String str, BitSet bitSet)
-
getIntersectOfChildren
public String getIntersectOfChildren(MappingTrieNode node)
-
getRoot
public MappingTrieNode getRoot()
-
reConstruct
public boolean reConstruct()
-
setWindowSize
public void setWindowSize(int windowSize)
-
-