JTP API Documentation

jtp.time.tlgraph
Class Relations

java.lang.Object
  |
  +--jtp.time.tlgraph.Relations

public class Relations
extends Object

Defines the relations over time points.

Time point relations and binary and decimal codes are:

 !    <    =    <=   >    <>   =>   <=>
 000  001  010  011  100  101  110  111
 0    1    2    3    4    5    6    7
 


Field Summary
static byte AFTER
           
static byte AFTER_EQUAL
           
static byte ANY_REL
           
static byte BEFORE
           
static byte BEFORE_EQUAL
           
static byte EQUAL
           
static byte[] inverseVector
           
static byte NO_REL
           
static byte NOT_EQUAL
           
static byte NULL_REL
           
static String[] relationNames
           
static byte[][] sequenceMatrix
           
 
Constructor Summary
Relations()
           
 
Method Summary
static boolean consistent(byte x, byte y)
           
static boolean entails(byte x, byte y)
           
static byte intersect(byte x, byte y)
           
static byte inverse(byte x)
           
static byte sequence(byte x, byte y)
           
static String toString(byte x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_REL

public static final byte NULL_REL
See Also:
Constant Field Values

NO_REL

public static final byte NO_REL
See Also:
Constant Field Values

BEFORE

public static final byte BEFORE
See Also:
Constant Field Values

EQUAL

public static final byte EQUAL
See Also:
Constant Field Values

BEFORE_EQUAL

public static final byte BEFORE_EQUAL
See Also:
Constant Field Values

AFTER

public static final byte AFTER
See Also:
Constant Field Values

NOT_EQUAL

public static final byte NOT_EQUAL
See Also:
Constant Field Values

AFTER_EQUAL

public static final byte AFTER_EQUAL
See Also:
Constant Field Values

ANY_REL

public static final byte ANY_REL
See Also:
Constant Field Values

relationNames

public static final String[] relationNames

sequenceMatrix

public static final byte[][] sequenceMatrix

inverseVector

public static final byte[] inverseVector
Constructor Detail

Relations

public Relations()
Method Detail

sequence

public static byte sequence(byte x,
                            byte y)

inverse

public static byte inverse(byte x)

intersect

public static byte intersect(byte x,
                             byte y)

entails

public static boolean entails(byte x,
                              byte y)

consistent

public static boolean consistent(byte x,
                                 byte y)

toString

public static String toString(byte x)

JTP API Documentation