Class TimedBoundary
java.lang.Object
org.episteme.social.geography.TimedBoundary
- All Implemented Interfaces:
Serializable
A geographic boundary that changes over time.
Stores multiple states, each representing the boundary at a specific point in time.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a snapshot of a boundary at a specific time. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddState(TimeCoordinate timestamp, Boundary<?> boundary) Adds a boundary state at a given time.Boundary<?> getAt(TimeCoordinate time) Returns the boundary active at the given time.Boundary<?> Returns the current boundary.
-
Constructor Details
-
TimedBoundary
public TimedBoundary()
-
-
Method Details
-
addState
Adds a boundary state at a given time. The states are kept sorted by time. -
getStates
-
getAt
Returns the boundary active at the given time. -
getCurrent
Returns the current boundary.
-