G
- M
- a prototypical implementation of a temporal context
the time dimension is assumed to be a finite prefix of the natural numbers, ie. the timepoints 0 to n for
some natural number n
Furthermore it is assumed that all timepoints have the same objects and attributes. If this is not the case,
then it can be ensured by calling the normalize() methode. It simply adds all existing objects and
attributes to all other timepoint contexts.public class TemporalContext<G,M> extends Object
Constructor and Description |
---|
TemporalContext() |
Modifier and Type | Method and Description |
---|---|
MatrixContext<G,M> |
addTimepoint() |
MatrixContext<G,M> |
atTimepoint(int t) |
boolean |
contains(G g,
LTL<M> m,
Integer t) |
boolean |
contains(G g,
M m,
Integer t) |
Set<LTL<M>> |
getAllLTLAttributes() |
int |
getLength() |
Set<LTL<M>> |
getLTLAttributes(LTL.Type... types) |
boolean |
hasTimepoint(int t) |
int |
lastTimepoint() |
boolean |
normalize() |
MatrixContext<Pair<G,Integer>,LTL<M>> |
temporalScaling() |
MatrixContext<Pair<G,Integer>,LTL<M>> |
temporalScaling(Set<Integer> timepoints,
Set<LTL<M>> ltlAttributes) |
MatrixContext<Pair<G,Integer>,LTL<M>> |
temporalScaling(Set<LTL<M>> ltlAttributes) |
public TemporalContext()
public final MatrixContext<G,M> addTimepoint()
public final MatrixContext<G,M> atTimepoint(int t)
public final boolean hasTimepoint(int t)
public final int lastTimepoint()
public final int getLength()
public final boolean normalize()
public final MatrixContext<Pair<G,Integer>,LTL<M>> temporalScaling(Set<Integer> timepoints, Set<LTL<M>> ltlAttributes)
timepoints
- ltlAttributes
- public final MatrixContext<Pair<G,Integer>,LTL<M>> temporalScaling(Set<LTL<M>> ltlAttributes)
public final MatrixContext<Pair<G,Integer>,LTL<M>> temporalScaling()
public Set<LTL<M>> getAllLTLAttributes()
public Set<LTL<M>> getLTLAttributes(LTL.Type... types)
Copyright © 2010–2023 Francesco Kriegel. All rights reserved.