Class TemplateRow.HopInputComparator
java.lang.Object
org.apache.sysds.hops.codegen.template.TemplateRow.HopInputComparator
- All Implemented Interfaces:
Comparator<Hop>
- Enclosing class:
- TemplateRow
Comparator to order input hops of the row aggregate template. We try
to order matrices-vectors-scalars via sorting by number of cells but
we keep the given main input always at the first position.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
HopInputComparator
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Hop>
-