Package org.apache.sysds.hops.fedplanner
Class FederatedMemoTable.HopCommon
java.lang.Object
org.apache.sysds.hops.fedplanner.FederatedMemoTable.HopCommon
- Enclosing class:
- FederatedMemoTable
Represents common properties and costs associated with a Hop.
This class holds a reference to the Hop and tracks its execution and network forwarding (transfer) costs.
It also maintains the loop context information to properly calculate forwarding costs within loops.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetChildForwardingWeight(List<org.apache.commons.lang3.tuple.Pair<Long, Double>> childLoopContext) doubledoubledoubleintdouble
-
Constructor Details
-
HopCommon
-
-
Method Details
-
getHopRef
-
getSelfCost
public double getSelfCost() -
getForwardingCost
public double getForwardingCost() -
getComputeWeight
public double getComputeWeight() -
getNetworkWeight
public double getNetworkWeight() -
getNumOfParents
public int getNumOfParents() -
getLoopContext
-
getChildForwardingWeight
-