Package edu.gsu.cs.dmlab.datatypes
Class GeneralSTInterpolationTrajectory
- java.lang.Object
-
- edu.gsu.cs.dmlab.datatypes.BaseTemporalObject
-
- edu.gsu.cs.dmlab.datatypes.GeneralSTInterpolationTrajectory
-
- All Implemented Interfaces:
IBaseTemporalObject
,ISpatialTemporalTrajectory<ISTInterpolationEvent>
,ISTInterpolationTrajectory
public class GeneralSTInterpolationTrajectory extends BaseTemporalObject implements ISTInterpolationTrajectory
Is an trajectory object used to represent track of a solar event taken from HEK. It is composed of a number of individual reports that together represent the trajectory.- Author:
- Dustin Kempton, Data Mining Lab, Georgia State University
-
-
Field Summary
-
Fields inherited from class edu.gsu.cs.dmlab.datatypes.BaseTemporalObject
timePeriod
-
Fields inherited from interface edu.gsu.cs.dmlab.datatypes.interfaces.IBaseTemporalObject
baseTemporalComparator
-
-
Constructor Summary
Constructors Constructor Description GeneralSTInterpolationTrajectory(List<ISTInterpolationEvent> events)
Constructor that takes in the list of ISTInterpolationEvents that compose the trajectory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.locationtech.jts.geom.Envelope
getMBR()
SortedSet<ISTInterpolationEvent>
getSTObjects()
Produces a sorted set of all the spatiotemporal objects contained in this trajectory.EventType
getType()
Returns the event type of the trajectorydouble
getVolume()
Computes the volume of this trajectory by using the volume of each of the spatiotemporal objects it contains.boolean
isInterpolated()
Returns an indicator of whether the trajectory is interpolated or not.int
size()
Gets the number of spatiotemporal objects contained in this trajectory.-
Methods inherited from class edu.gsu.cs.dmlab.datatypes.BaseTemporalObject
compareTime, getTimePeriod, getUUID
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.gsu.cs.dmlab.datatypes.interfaces.IBaseTemporalObject
compareTime, getTimePeriod, getUUID
-
-
-
-
Constructor Detail
-
GeneralSTInterpolationTrajectory
public GeneralSTInterpolationTrajectory(List<ISTInterpolationEvent> events)
Constructor that takes in the list of ISTInterpolationEvents that compose the trajectory.- Parameters:
events
- The set of event detections that compose the trajectory.
-
-
Method Detail
-
getSTObjects
public SortedSet<ISTInterpolationEvent> getSTObjects()
Description copied from interface:ISpatialTemporalTrajectory
Produces a sorted set of all the spatiotemporal objects contained in this trajectory. The objects are ordered by their start time.- Specified by:
getSTObjects
in interfaceISpatialTemporalTrajectory<ISTInterpolationEvent>
- Returns:
- A sorted set of all the spatiotemporal objects in this trajectory.
-
getMBR
public org.locationtech.jts.geom.Envelope getMBR()
- Specified by:
getMBR
in interfaceISpatialTemporalTrajectory<ISTInterpolationEvent>
- Returns:
-
size
public int size()
Description copied from interface:ISpatialTemporalTrajectory
Gets the number of spatiotemporal objects contained in this trajectory.- Specified by:
size
in interfaceISpatialTemporalTrajectory<ISTInterpolationEvent>
- Returns:
- The number of spatiotemporal objects in this trajectory.
-
getVolume
public double getVolume()
Description copied from interface:ISpatialTemporalTrajectory
Computes the volume of this trajectory by using the volume of each of the spatiotemporal objects it contains.- Specified by:
getVolume
in interfaceISpatialTemporalTrajectory<ISTInterpolationEvent>
- Returns:
- The volume of the trajectory.
-
getType
public EventType getType()
Description copied from interface:ISTInterpolationTrajectory
Returns the event type of the trajectory- Specified by:
getType
in interfaceISTInterpolationTrajectory
- Returns:
- the event type of the trajectory
-
isInterpolated
public boolean isInterpolated()
Description copied from interface:ISTInterpolationTrajectory
Returns an indicator of whether the trajectory is interpolated or not. This is just so we can have an indicator of this.- Specified by:
isInterpolated
in interfaceISTInterpolationTrajectory
- Returns:
- True if the trajectory is interpolated, false if it is not.
-
-