edu.rit.pj.reduction
Class ShortOp
- java.lang.Object
-
- edu.rit.pj.reduction.Op
-
- edu.rit.pj.reduction.ShortOp
-
public abstract class ShortOp extends Op
Class ShortOp is the abstract base class for a binary operation on short values, used to do reduction in a parallel program.
-
-
Field Summary
Fields Modifier and Type Field and Description static ShortOpANDThe short bitwise "and" binary operation.static ShortOpMAXIMUMThe short maximum binary operation.static ShortOpMINIMUMThe short minimum binary operation.static ShortOpORThe short bitwise "or" binary operation.static ShortOpPRODUCTThe short product binary operation.static ShortOpSUMThe short sum binary operation.static ShortOpXORThe short bitwise "exclusive or" binary operation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract shortop(short x, short y)Perform this binary operation.
-
-
-
Field Detail
-
SUM
public static final ShortOp SUM
The short sum binary operation.
-
PRODUCT
public static final ShortOp PRODUCT
The short product binary operation.
-
MINIMUM
public static final ShortOp MINIMUM
The short minimum binary operation.
-
MAXIMUM
public static final ShortOp MAXIMUM
The short maximum binary operation.
-
AND
public static final ShortOp AND
The short bitwise "and" binary operation.
-
OR
public static final ShortOp OR
The short bitwise "or" binary operation.
-
XOR
public static final ShortOp XOR
The short bitwise "exclusive or" binary operation.
-
-
DMelt 3.0 © DataMelt by jWork.ORG