Package org.apache.sysds.hops.fedplanner
Class AFederatedPlanner
- java.lang.Object
-
- org.apache.sysds.hops.fedplanner.AFederatedPlanner
-
- Direct Known Subclasses:
FederatedPlannerFedAll
public abstract class AFederatedPlanner extends Object
-
-
Constructor Summary
Constructors Constructor Description AFederatedPlanner()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
rewriteFunctionDynamic(FunctionStatementBlock function, LocalVariableMap funcArgs)
Selects a federated execution plan for the given function, taking into account federation types of the arguments.abstract void
rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes)
Selects a federated execution plan for the given program by setting the forced execution type.
-
-
-
Method Detail
-
rewriteProgram
public abstract void rewriteProgram(DMLProgram prog, FunctionCallGraph fgraph, FunctionCallSizeInfo fcallSizes)
Selects a federated execution plan for the given program by setting the forced execution type.- Parameters:
prog
- dml programfgraph
- function call graphfcallSizes
- function call graph sizes
-
rewriteFunctionDynamic
public abstract void rewriteFunctionDynamic(FunctionStatementBlock function, LocalVariableMap funcArgs)
Selects a federated execution plan for the given function, taking into account federation types of the arguments.- Parameters:
function
- The function statement block to recompile.funcArgs
- The function arguments.
-
-