Class FederatedMemoTablePrinter

java.lang.Object
org.apache.sysds.hops.fedplanner.FederatedMemoTablePrinter

public class FederatedMemoTablePrinter extends Object
  • Constructor Details

    • FederatedMemoTablePrinter

      public FederatedMemoTablePrinter()
  • Method Details

    • printFedPlanTree

      public static void printFedPlanTree(FederatedMemoTable.FedPlan rootFedPlan, Set<Hop> rootHopStatSet, FederatedMemoTable memoTable, double additionalTotalCost)
      Recursively prints a tree representation of the DAG starting from the given root FedPlan. Includes information about hopID, fedOutType, TotalCost, SelfCost, and NetCost for each node. Additionally, prints the additional total cost once at the beginning.
      Parameters:
      rootFedPlan - The starting point FedPlan to print
      rootHopStatSet - ???
      memoTable - The memoization table containing FedPlan variants
      additionalTotalCost - The additional cost to be printed once