Class AFederatedPlanner

java.lang.Object
org.apache.sysds.hops.fedplanner.AFederatedPlanner
Direct Known Subclasses:
FederatedPlannerFedAll, FederatedPlannerFedCostBased

public abstract class AFederatedPlanner extends Object
  • Constructor Details

    • AFederatedPlanner

      public AFederatedPlanner()
  • Method Details

    • 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 program
      fgraph - function call graph
      fcallSizes - 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.