Class CPlanMemoTable
- java.lang.Object
- 
- org.apache.sysds.hops.codegen.template.CPlanMemoTable
 
- 
 public class CPlanMemoTable extends Object 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCPlanMemoTable.MemoTableEntrystatic classCPlanMemoTable.MemoTableEntrySet
 - 
Constructor SummaryConstructors Constructor Description CPlanMemoTable()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
getPlanspublic HashMap<Long,List<CPlanMemoTable.MemoTableEntry>> getPlans() 
 - 
addHoppublic void addHop(Hop hop) 
 - 
containsHoppublic boolean containsHop(Hop hop) 
 - 
containspublic boolean contains(long hopID) 
 - 
containspublic boolean contains(long hopID, TemplateBase.TemplateType type)
 - 
containspublic boolean contains(long hopID, CPlanMemoTable.MemoTableEntry me, TemplateBase.TemplateType type)
 - 
containspublic boolean contains(long hopID, boolean checkClose, TemplateBase.TemplateType... type)
 - 
containsNotInpublic boolean containsNotIn(long hopID, Collection<TemplateBase.TemplateType> types, boolean checkChildRefs)
 - 
hasOnlyExactMatchespublic boolean hasOnlyExactMatches(long hopID, TemplateBase.TemplateType type1, TemplateBase.TemplateType type2)
 - 
countEntriespublic int countEntries(long hopID) 
 - 
countEntriespublic int countEntries(long hopID, TemplateBase.TemplateType type)
 - 
containsTopLevelpublic boolean containsTopLevel(long hopID) 
 - 
addpublic void add(Hop hop, TemplateBase.TemplateType type) 
 - 
addpublic void add(Hop hop, TemplateBase.TemplateType type, long in1) 
 - 
addpublic void add(Hop hop, TemplateBase.TemplateType type, long in1, long in2) 
 - 
addpublic void add(Hop hop, TemplateBase.TemplateType type, long in1, long in2, long in3) 
 - 
addpublic void add(Hop hop, CPlanMemoTable.MemoTableEntry me) 
 - 
addAllpublic void addAll(Hop hop, CPlanMemoTable.MemoTableEntrySet P) 
 - 
removepublic void remove(Hop hop, Set<CPlanMemoTable.MemoTableEntry> excludeList) 
 - 
removepublic void remove(Hop hop, TemplateBase.TemplateType type) 
 - 
removeAllRefTopublic void removeAllRefTo(long hopID) 
 - 
removeAllRefTopublic void removeAllRefTo(long hopID, TemplateBase.TemplateType type)
 - 
setDistinctpublic void setDistinct(long hopID, List<CPlanMemoTable.MemoTableEntry> plans)
 - 
pruneRedundantpublic void pruneRedundant(long hopID, boolean pruneDominated, InterestingPoint[] matPoints)
 - 
getpublic List<CPlanMemoTable.MemoTableEntry> get(long hopID) 
 - 
getpublic List<CPlanMemoTable.MemoTableEntry> get(long hopID, TemplateBase.TemplateType type) 
 - 
getDistinctpublic List<CPlanMemoTable.MemoTableEntry> getDistinct(long hopID) 
 - 
getDistinctTemplatespublic List<TemplateBase> getDistinctTemplates(long hopID) 
 - 
getDistinctTemplateTypespublic List<TemplateBase.TemplateType> getDistinctTemplateTypes(long hopID, int refAt) 
 - 
getDistinctTemplateTypespublic List<TemplateBase.TemplateType> getDistinctTemplateTypes(long hopID, int refAt, boolean exclInvalOuter) 
 - 
getBestpublic CPlanMemoTable.MemoTableEntry getBest(long hopID) 
 - 
getBestpublic CPlanMemoTable.MemoTableEntry getBest(long hopID, TemplateBase.TemplateType pref) 
 - 
getBestpublic CPlanMemoTable.MemoTableEntry getBest(long hopID, TemplateBase.TemplateType pref1, TemplateBase.TemplateType pref2) 
 - 
getAllRefspublic long[] getAllRefs(long hopID) 
 - 
sizepublic int size() 
 
- 
 
-