edu.rit.pj.reduction
Class LongOp
- java.lang.Object
-
- edu.rit.pj.reduction.Op
-
- edu.rit.pj.reduction.LongOp
-
public abstract class LongOp extends Op
Class LongOp is the abstract base class for a binary operation on long values, used to do reduction in a parallel program.
-
-
Field Summary
Fields Modifier and Type Field and Description static LongOpANDThe long bitwise "and" binary operation.static LongOpMAXIMUMThe long maximum binary operation.static LongOpMINIMUMThe long minimum binary operation.static LongOpORThe long bitwise "or" binary operation.static LongOpPRODUCTThe long product binary operation.static LongOpSUMThe long sum binary operation.static LongOpXORThe long bitwise "exclusive or" binary operation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract longop(long x, long y)Perform this binary operation.
-
-
-
Field Detail
-
SUM
public static final LongOp SUM
The long sum binary operation.
-
PRODUCT
public static final LongOp PRODUCT
The long product binary operation.
-
MINIMUM
public static final LongOp MINIMUM
The long minimum binary operation.
-
MAXIMUM
public static final LongOp MAXIMUM
The long maximum binary operation.
-
AND
public static final LongOp AND
The long bitwise "and" binary operation.
-
OR
public static final LongOp OR
The long bitwise "or" binary operation.
-
XOR
public static final LongOp XOR
The long bitwise "exclusive or" binary operation.
-
-
DMelt 3.0 © DataMelt by jWork.ORG