| Package | Description |
|---|---|
| org.protempa | |
| org.protempa.proposition | |
| org.protempa.proposition.interval |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SimpleGapFunction.execute(Interval lhs,
Interval rhs)
Executes the gap function.
|
abstract boolean |
GapFunction.execute(Interval lhs,
Interval rhs)
Returns whether two intervals have a gap that satisfies
the constraints of the gap function.
|
boolean |
MinMaxGapFunction.execute(Interval lhs,
Interval rhs) |
| Modifier and Type | Method and Description |
|---|---|
Interval |
CompoundInterval.getInterval()
Gets the interval for this compound interval.
|
Interval |
Segment.getInterval() |
Interval |
TemporalProposition.getInterval()
The range of time over which this parameter's value is true.
|
protected Interval |
Segment.intervalCreator() |
| Modifier and Type | Method and Description |
|---|---|
protected CompoundValuedInterval |
AbstractParameterIntervalSectioner.newCompoundInterval(Interval ival,
Set<AbstractParameter> props) |
protected CompoundInterval<Context> |
ContextIntervalSectioner.newCompoundInterval(Interval ival,
Set<Context> props) |
protected abstract K |
IntervalSectioner.newCompoundInterval(Interval ival,
Set<E> props) |
void |
AbstractParameter.setInterval(Interval interval) |
void |
Event.setInterval(Interval interval) |
void |
Context.setInterval(Interval interval) |
protected void |
TemporalProposition.setInterval(Interval interval)
Sets the valid interval.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultInterval
A constraint representing a temporal abstraction interval.
|
class |
SimpleInterval
An Interval for completely specified minimum and maximum starts and finishes,
and 0 duration.
|
| Modifier and Type | Method and Description |
|---|---|
Interval |
AbsoluteTimeIntervalFactory.getInstance() |
Interval |
IntervalFactory.getInstance()
Returns an unbounded interval.
|
Interval |
AbsoluteTimeIntervalFactory.getInstance(Date minStart,
Date maxStart,
Granularity startGran,
Date minFinish,
Date maxFinish,
Granularity finishGran) |
Interval |
AbsoluteTimeIntervalFactory.getInstance(Date date,
Granularity gran) |
Interval |
AbsoluteTimeIntervalFactory.getInstance(Date start,
Granularity startGran,
Date finish,
Granularity finishGran) |
Interval |
IntervalFactory.getInstance(Long position,
Granularity gran)
Returns an interval representing a position on the timeline or other axis
at a specified granularity.
|
Interval |
IntervalFactory.getInstance(Long start,
Granularity startGran,
Long finish,
Granularity finishGran)
Returns at interval specified by the given start and finish and
granularities.
|
Interval |
IntervalFactory.getInstance(Long minStart,
Long maxStart,
Granularity startGran,
Long minFinish,
Long maxFinish,
Granularity finishGran)
Returns an interval specified by the given minimum start, maximum start,
minimum finish and maximum finish and corresponding granularities.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Interval.compareTo(Interval o) |
static long |
IntervalUtil.distanceBetween(Interval firstIval,
Interval secondIval) |
static long |
IntervalUtil.distanceBetween(Interval firstIval,
Interval secondIval,
Unit units) |
static String |
IntervalUtil.distanceBetweenFormattedLong(Interval firstIval,
Interval secondIval) |
static String |
IntervalUtil.distanceBetweenFormattedLong(Interval firstIval,
Interval secondIval,
Unit units) |
static String |
IntervalUtil.distanceBetweenFormattedMedium(Interval firstIval,
Interval secondIval) |
static String |
IntervalUtil.distanceBetweenFormattedMedium(Interval firstIval,
Interval secondIval,
Unit units) |
static String |
IntervalUtil.distanceBetweenFormattedShort(Interval firstIval,
Interval secondIval) |
static String |
IntervalUtil.distanceBetweenFormattedShort(Interval firstIval,
Interval secondIval,
Unit units) |
boolean |
Relation.hasRelation(Interval interval1,
Interval interval2)
Determines whether the given intervals have this relation.
|
Copyright © 2012–2018 Emory University. All rights reserved.