Class InterestingPoint
- java.lang.Object
-
- org.apache.sysds.hops.codegen.opt.InterestingPoint
-
public class InterestingPoint extends Object
Interesting decision point with regard to materialization of intermediates. These points are defined by a type, as well as hop ID for consumer-producer relationships. Equivalence is defined solely on the hop IDs, to simplify their processing and avoid redundant enumeration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InterestingPoint.DecisionType
-
Field Summary
Fields Modifier and Type Field Description long
_fromHopID
long
_toHopID
-
Constructor Summary
Constructors Constructor Description InterestingPoint(InterestingPoint.DecisionType type, long fromHopID, long toHopID)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
long
getFromHopID()
long
getToHopID()
InterestingPoint.DecisionType
getType()
int
hashCode()
static boolean
isMatPoint(InterestingPoint[] list, long from, long to)
static boolean
isMatPoint(InterestingPoint[] list, long from, CPlanMemoTable.MemoTableEntry me, boolean[] plan)
String
toString()
-
-
-
Constructor Detail
-
InterestingPoint
public InterestingPoint(InterestingPoint.DecisionType type, long fromHopID, long toHopID)
-
-
Method Detail
-
getType
public InterestingPoint.DecisionType getType()
-
getFromHopID
public long getFromHopID()
-
getToHopID
public long getToHopID()
-
isMatPoint
public static boolean isMatPoint(InterestingPoint[] list, long from, CPlanMemoTable.MemoTableEntry me, boolean[] plan)
-
isMatPoint
public static boolean isMatPoint(InterestingPoint[] list, long from, long to)
-
-