Class OptTree
- java.lang.Object
- 
- org.apache.sysds.runtime.controlprogram.parfor.opt.OptTree
 
- 
 public class OptTree extends Object Represents a complete plan of a top-level parfor. This includes the internal representation of the actual current plan as well as additional meta information that are only kept once per program instead of for each and every plan alternative.
- 
- 
Constructor SummaryConstructors Constructor Description OptTree(int ck, double cm, Optimizer.PlanInputType type, OptNode node, OptTreePlanMappingAbstract hlMap, OptTreePlanMappingRuntime rtMap)OptTree(int ck, double cm, OptNode node)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringexplain(boolean withDetails)Explain tool: prints the hierarchical plan (including all available detail information, if necessary) tostdout.OptTreePlanMappingAbstractgetAbstractPlanMapping()intgetCK()doublegetCM()HopgetMappedHop(long id)Object[]getMappedProg(long id)ProgramBlockgetMappedProgramBlock(long id)Optimizer.PlanInputTypegetPlanInputType()OptNodegetRoot()OptTreePlanMappingRuntimegetRuntimePlanMapping()voidsetPlanInputType(Optimizer.PlanInputType type)voidsetRoot(OptNode n)
 
- 
- 
- 
Constructor Detail- 
OptTreepublic OptTree(int ck, double cm, OptNode node)
 - 
OptTreepublic OptTree(int ck, double cm, Optimizer.PlanInputType type, OptNode node, OptTreePlanMappingAbstract hlMap, OptTreePlanMappingRuntime rtMap)
 
- 
 - 
Method Detail- 
getAbstractPlanMappingpublic OptTreePlanMappingAbstract getAbstractPlanMapping() 
 - 
getRuntimePlanMappingpublic OptTreePlanMappingRuntime getRuntimePlanMapping() 
 - 
getMappedHoppublic Hop getMappedHop(long id) 
 - 
getMappedProgpublic Object[] getMappedProg(long id) 
 - 
getMappedProgramBlockpublic ProgramBlock getMappedProgramBlock(long id) 
 - 
getCKpublic int getCK() 
 - 
getCMpublic double getCM() 
 - 
getPlanInputTypepublic Optimizer.PlanInputType getPlanInputType() 
 - 
setPlanInputTypepublic void setPlanInputType(Optimizer.PlanInputType type) 
 - 
getRootpublic OptNode getRoot() 
 - 
setRootpublic void setRoot(OptNode n) 
 - 
explainpublic String explain(boolean withDetails) Explain tool: prints the hierarchical plan (including all available detail information, if necessary) tostdout.- Parameters:
- withDetails- if true, include explain details
- Returns:
- string explanation
 
 
- 
 
-