|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.upenn.gloDB.parser.Operator
public class Operator
Methods for processing the different types of operators.
T1: r-s t-------u v---w x-y aa|------------------------------|bb |012345678901234567890123456789| T2: a-b c-d e-f g---h i-jThe type of Operator:
Constructor Summary | |
---|---|
Operator()
|
Method Summary | |
---|---|
static Track |
fxn_AND(Track left,
Operation operation)
AND : all F in T1 which also exists in T2. |
static Track |
fxn_bAND(Track left,
Operation operation)
&& (bAND) : all positions in T1 that overlap with positions in T2. |
static Track |
fxn_bMINUS(Track left,
Operation operation)
bMINUS : all positions in T1 that don't exist in T2. |
static Track |
fxn_bOR(Track left,
Operation operation)
OR : all F in T1 and T2. |
static Track |
fxn_MINUS(Track left,
Operation operation)
MINUS : all F in T1 that don't overlap with F in T2. |
static Track |
fxn_OR(Track left,
Operation operation)
OR : all F in T1 and T2. |
static Track |
fxn_POS(Track left,
Operation operation)
POS : all contiguous F in T1 and T2, appropriately spaced For each T2 need to loop through all T1 (on same seq), until past range. |
static Track |
fxn_sAND(Track left,
Operation operation)
sAND : all features in T1 which exactly overlap features in T2. |
static Track |
fxn_sMINUS(Track left,
Operation operation)
sMINUS : all features in T1 that don't exactly overlap features in T2. |
(package private) static java.lang.String |
getType(int type)
Return the representative String for a type value. |
(package private) static Track |
processOperation(Track left,
Operation operation)
The first argument 'left' is the set of Features on the left hand side of the operation, the second argument 'operation' contains both the operation type and the set of Features on the right hand side of the operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Operator()
Method Detail |
---|
static java.lang.String getType(int type)
static Track processOperation(Track left, Operation operation)
public static Track fxn_POS(Track left, Operation operation)
public static Track fxn_AND(Track left, Operation operation)
public static Track fxn_OR(Track left, Operation operation)
public static Track fxn_MINUS(Track left, Operation operation)
public static Track fxn_sAND(Track left, Operation operation)
public static Track fxn_sMINUS(Track left, Operation operation)
public static Track fxn_bOR(Track left, Operation operation)
public static Track fxn_bAND(Track left, Operation operation)
public static Track fxn_bMINUS(Track left, Operation operation)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |