Introduction
In classical artificial intelligence, early databases often treated assertions as "timelessly true." However, as planning systems transitioned from toy problems to complex, real-world domains, the need to reason about facts tied to specific intervals became critical. A truck's location, a flight's confirmation, or a machine's status are all temporally dependent. Thomas Dean's 1987 paper addresses the bottleneck of managing thousands of such facts, introducing the Time Map Manager (TMM) to ensure that temporal reasoning remains computationally feasible as databases scale.
The Time Map Manager (TMM) Framework
The TMM represents time as a graph where vertices are instants (points) and edges represent constraints—specifically, lower and upper bounds on the distance between these points. Facts are represented as Time Tokens, which associate a syntactic type (e.g., a specific task or state) with a temporal interval.
To manage these tokens efficiently, the TMM moves away from exhaustive graph searches. Instead, it utilizes a global frame of reference by caching the distance of every time point from a fixed "zero point." This allows the system to perform direct-path indexing, effectively turning complex graph-traversal problems into simpler interval comparisons. Additionally, the TMM uses a heuristic graph traverser to maintain derived constraints, ensuring that changes in a plan automatically propagate through prerequisite tasks.
Hierarchical Temporal Partitioning
A core innovation of the TMM is its use of hierarchical partitioning to organize temporal data. Rather than treating all time points as a flat set, the system nests them into "buckets" of increasing granularity. For example, in an industrial setting, time might be divided into weeks, which are further subdivided into days, shifts, and hours.
This structure allows the search algorithm to "zoom in" on relevant time frames. When querying for a specific event, the system can quickly bypass entire weeks or days that fall outside the query's scope. This demand-driven subindexing ensures that the system only over-organizes data when a particular bucket becomes too large, maintaining a balance between search speed and organizational overhead.
Indexing and Retrieval via Discrimination Trees
Beyond temporal partitioning, the TMM employs Discrimination Trees (dtrees) to index tokens. Tokens are first categorized by their syntactic type and then by their temporal scope within the hierarchy. This dual-indexing strategy ensures that searching for a specific type of event (e.g., "travel agent confirmation") does not require scanning the entire history of all events.
The combination of syntactic and temporal indexing reduces the cost of token retrieval from a function of the total database size to a function of local density. Specifically, retrieval time becomes proportional to the number of time periods separating the search start from the target and the number of matching tokens within that local period. In practice, the depth of the temporal hierarchy is typically small (seldom greater than 20), making retrieval extremely fast even in databases containing thousands of tokens.
Conclusion and Impact
The TMM framework demonstrated that large-scale temporal reasoning could be made efficient through clever indexing and hierarchical organization. By treating time as a dynamic, partitioned map rather than a static list of facts, Dean provided a scalable foundation for complex planning systems like the FOHBIN factory planner. While the model faces challenges at partition boundaries and relies on certain ordering assumptions, its focus on "graceful degradation" and global reference frames remains a significant contribution to temporal database theory.
Summary updated