Mercurial Hosting > traffic-intelligence
changeset 6:597d61c1eebe
minor doc update
author | Nicolas Saunier <nico@confins.net> |
---|---|
date | Wed, 04 Nov 2009 19:13:08 -0500 |
parents | 824c35230b73 |
children | ffddccfab7f9 |
files | python/moving.py |
diffstat | 1 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/python/moving.py Mon Oct 26 00:27:55 2009 -0400 +++ b/python/moving.py Wed Nov 04 19:13:08 2009 -0500 @@ -56,7 +56,9 @@ class STObject: '''Class for spatio-temporal object i.e. with temporal and spatial existence - (time interval and bounding polygon for positions (e.g. rectangle)''' + (time interval and bounding polygon for positions (e.g. rectangle)). + It does not mean that the object is defined + for all time instants within the time interval''' def __init__(self, timeInterval = TimeInterval(), boundingPolygon = None, num = None): self.timeInterval = timeInterval @@ -76,12 +78,17 @@ # return bounding box, and generic polygon, that defaults to box -class Track(STObject): +class Trajectory(STObject): '''Class for trajectories - i.e. sequence of positions''' + i.e. a temporal sequence of positions''' pass +class TemporalIndicator: + '''Class for temporal indicators + i.e. indicators that take a value at specific instants''' + pass + if __name__ == "__main__": import doctest