Class FederatedMemoTable.FedPlan

  • Enclosing class:
    FederatedMemoTable

    public static class FederatedMemoTable.FedPlan
    extends Object
    Represents a single federated execution plan with its associated costs and dependencies. This class contains: 1. selfCost: Cost of current hop (compute + input/output memory access) 2. totalCost: Cumulative cost including this plan and all child plans 3. netTransferCost: Network transfer cost for this plan to parent plan. FedPlan is linked to FedPlanVariants, which in turn uses HopCommon to manage common properties and costs.
    • Method Detail

      • setTotalCost

        public void setTotalCost​(double totalCost)
      • setSelfCost

        public void setSelfCost​(double selfCost)
      • setNetTransferCost

        public void setNetTransferCost​(double netTransferCost)
      • getHopRef

        public Hop getHopRef()
      • getHopID

        public long getHopID()
      • getTotalCost

        public double getTotalCost()
      • getSelfCost

        public double getSelfCost()
      • getNetTransferCost

        public double getNetTransferCost()
      • getCondNetTransferCost

        public double getCondNetTransferCost​(FEDInstruction.FederatedOutput parentFedOutType)
        Calculates the conditional network transfer cost based on output type compatibility. Returns 0 if output types match, otherwise returns the network transfer cost.
        Parameters:
        parentFedOutType - The federated output type of the parent plan.
        Returns:
        The conditional network transfer cost.