edu.rit.pj.reduction
Class IntegerOp
- java.lang.Object
-
- edu.rit.pj.reduction.Op
-
- edu.rit.pj.reduction.IntegerOp
-
public abstract class IntegerOp extends Op
Class IntegerOp is the abstract base class for a binary operation on integer values, used to do reduction in a parallel program.
-
-
Field Summary
Fields Modifier and Type Field and Description static IntegerOpANDThe integer bitwise "and" binary operation.static IntegerOpMAXIMUMThe integer maximum binary operation.static IntegerOpMINIMUMThe integer minimum binary operation.static IntegerOpORThe integer bitwise "or" binary operation.static IntegerOpPRODUCTThe integer product binary operation.static IntegerOpSUMThe integer sum binary operation.static IntegerOpXORThe integer bitwise "exclusive or" binary operation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract intop(int x, int y)Perform this binary operation.
-
-
-
Field Detail
-
SUM
public static final IntegerOp SUM
The integer sum binary operation.
-
PRODUCT
public static final IntegerOp PRODUCT
The integer product binary operation.
-
MINIMUM
public static final IntegerOp MINIMUM
The integer minimum binary operation.
-
MAXIMUM
public static final IntegerOp MAXIMUM
The integer maximum binary operation.
-
AND
public static final IntegerOp AND
The integer bitwise "and" binary operation.
-
OR
public static final IntegerOp OR
The integer bitwise "or" binary operation.
-
XOR
public static final IntegerOp XOR
The integer bitwise "exclusive or" binary operation.
-
-
DMelt 3.0 © DataMelt by jWork.ORG