C# Class Cream.AllenTemporal.AllenEvents

显示文件 Open project: kikoanis/CSharpCream Class Usage Examples

Public Properties

Property Type Description
AllenComposition int[][][]
I int[]

Public Methods

Method Description
Complement ( int interval ) : int[]

Return the complement interval of a given interval. Example: Complement({Precededby, Equal, Contains}) = {Precedes, During, Starts, Startedby, Finishes, FinishedBy, Overlaps, OverlappedBy, Meets, MetBy}

Composition ( int c1, int c2 ) : int[]
GetString ( int index ) : String
Intersection ( int c1, int c2 ) : int[]
Inverse ( int interval ) : int[]

Return the inverse interval of a given interval. Example: Inverse({PrecededBy, Equal, Contains}) = {Precedes, Equal, During}

IsEqual ( int c1, int c2 ) : bool
Satisfy ( int relation, Variable v1, Variable v2 ) : bool
Satisfy ( int relation, int v1, int v2, int duration1, int duration2 ) : bool
Union ( int c1, int c2 ) : int[]

Private Methods

Method Description
SatisfyCONTAINS ( Variable v1, Variable v2 ) : bool
SatisfyCONTAINS ( int st1, int st2, int duration1, int duration2 ) : bool
SatisfyDURING ( Variable v1, Variable v2 ) : bool
SatisfyDURING ( int st1, int st2, int duration1, int duration2 ) : bool
SatisfyEQUALS ( Variable v1, Variable v2 ) : bool
SatisfyEQUALS ( int st1, int st2, int duration1, int duration2 ) : bool
SatisfyFINISHEDBY ( Variable v1, Variable v2 ) : bool
SatisfyFINISHEDBY ( int st1, int st2, int duration1, int duration2 ) : bool
SatisfyFINISHES ( Variable v1, Variable v2 ) : bool
SatisfyFINISHES ( int st1, int st2, int duration1, int duration2 ) : bool
SatisfyMEETS ( Variable v1, Variable v2 ) : bool
SatisfyMEETS ( int st1, int st2, int duration ) : bool
SatisfyMETBY ( Variable v1, Variable v2 ) : bool
SatisfyMETBY ( int st1, int st2, int duration ) : bool
SatisfyOVERLAPPEDBY ( Variable v1, Variable v2 ) : bool
SatisfyOVERLAPPEDBY ( int st1, int st2, int duration1, int duration2 ) : bool
SatisfyOVERLAPS ( Variable v1, Variable v2 ) : bool
SatisfyOVERLAPS ( int st1, int st2, int duration1, int duration2 ) : bool
SatisfyPRECEDEDBY ( Variable v1, Variable v2 ) : bool
SatisfyPRECEDEDBY ( int st1, int st2, int duration ) : bool
SatisfyPRECEDES ( Variable v1, Variable v2 ) : bool
SatisfyPRECEDES ( int st1, int st2, int duration ) : bool
SatisfySTARTEDBY ( Variable v1, Variable v2 ) : bool
SatisfySTARTEDBY ( int st1, int st2, int duration1, int duration2 ) : bool
SatisfySTARTS ( Variable v1, Variable v2 ) : bool
SatisfySTARTS ( int st1, int st2, int duration1, int duration2 ) : bool

Method Details

Complement() public static method

Return the complement interval of a given interval. Example: Complement({Precededby, Equal, Contains}) = {Precedes, During, Starts, Startedby, Finishes, FinishedBy, Overlaps, OverlappedBy, Meets, MetBy}
public static Complement ( int interval ) : int[]
interval int an integer array represents the interval to be complemented
return int[]

Composition() public static method

public static Composition ( int c1, int c2 ) : int[]
c1 int
c2 int
return int[]

GetString() public static method

public static GetString ( int index ) : String
index int
return String

Intersection() public static method

public static Intersection ( int c1, int c2 ) : int[]
c1 int
c2 int
return int[]

Inverse() public static method

Return the inverse interval of a given interval. Example: Inverse({PrecededBy, Equal, Contains}) = {Precedes, Equal, During}
public static Inverse ( int interval ) : int[]
interval int an integer array represents the interval to be inversed
return int[]

IsEqual() public static method

public static IsEqual ( int c1, int c2 ) : bool
c1 int
c2 int
return bool

Satisfy() public static method

public static Satisfy ( int relation, Variable v1, Variable v2 ) : bool
relation int
v1 Variable
v2 Variable
return bool

Satisfy() public static method

public static Satisfy ( int relation, int v1, int v2, int duration1, int duration2 ) : bool
relation int
v1 int
v2 int
duration1 int
duration2 int
return bool

Union() public static method

public static Union ( int c1, int c2 ) : int[]
c1 int
c2 int
return int[]

Property Details

AllenComposition public_oe static_oe property

public static int[][][] AllenComposition
return int[][][]

I public_oe static_oe property

public static int[] I
return int[]