Class FederatedMemoTablePrinter


  • public class FederatedMemoTablePrinter
    extends Object
    • Constructor Detail

      • FederatedMemoTablePrinter

        public FederatedMemoTablePrinter()
    • Method Detail

      • printFedPlanTree

        public static void printFedPlanTree​(FederatedMemoTable.FedPlan rootFedPlan,
                                            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
        memoTable - The memoization table containing FedPlan variants
        additionalTotalCost - The additional cost to be printed once