Temporal Constraints Time and Time Again: The Many Ways to Represent Time James F Allen.

Slides:



Advertisements
Similar presentations
Sec. 2.1 # 8, 19, 32, 38, Domain is all the x values and range is all the y values. DR Graph was not large enough for 16.
Advertisements

n-ary Relations and Their Applications
464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated.
Domain & Range. When the coordinates are listed; determining the Domain ( D ) and Range ( R ) of a function is quite easy…
Is the shape below a function? Explain. Find the domain and range.
Constraint Based Reasoning over Mutex Relations in Graphplan Algorithm Pavel Surynek Charles University, Prague Czech Republic.
PostgreSQL & Temporal Data Christopher Browne Afilias Canada PGCon 2009.
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
Time Constraints in Planning Sudhan Kanitkar
Lecture 10: Integer Programming & Branch-and-Bound
SECTION 3.6 COMPLEX ZEROS; COMPLEX ZEROS; FUNDAMENTAL THEOREM OF ALGEBRA FUNDAMENTAL THEOREM OF ALGEBRA.
CS240A: Databases and Knowledge Bases Time Ontology and Representations Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
CS460 Fall 2013 Lecture 4 Constraint Satisfaction Problems.
Jean-Charles REGIN Michel RUEHER ILOG Sophia Antipolis Université de Nice – Sophia Antipolis A global constraint combining.
Fast Isocontouring For Improved Interactivity Chandrajit L. Bajaj Valerio Pascucci Daniel R. Schikore.
CS240A: Databases and Knowledge Bases Time Ontology and Representations Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
© J. Christopher Beck Lecture 19: Timetabling with Operator Constraints.
JavaScript Events and Event Handlers 1 An event is an action that occurs within a Web browser or Web document. An event handler is a statement that tells.
1 Constraint Programming: An Introduction Adapted by Cristian OLIVA from Peter Stuckey (1998) Ho Chi Minh City.
Graph 8 a. Graph b. Domain _________ c. Range __________
Graphing Piecewise Functions
Data Mining Techniques
Managing the Design Process Project must  Accomplish the goals - scope  Be done within resources - spending  Be done on time - scheduling.
Relaxation and Hybrid constraint processing Different relaxation techniques Some popular hybrid techniques.
Functions and Relations Not relationships Relations.
Section 2.2 Functions  Functions & Graphs  Function Notation & Equations  Applications: Interpolation & Extrapolation 12.2.
Functions/Domain/Range
1.3 Families of Equations. What families of graphs have your studied? Linear Absolute Value Quadratic Square Root Cubic Cube Root.
Solve problems by using linear programming.
On Optimizing the Backoff Interval for Random Access Scheme Zygmunt J. Hass and Jing Deng IEEE Transactions on Communications, Dec 2003.
1 Graph Coloring: An Overview Graph Coloring Basics Planar/4-color Graphs Applications New Register Allocation Technique.
Artificial Intelligence CS482, CS682, MW 1 – 2:15, SEM 201, MS 227 Prerequisites: 302, 365 Instructor: Sushil Louis,
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Fall 2006 Jim Martin.
1 Outline:  Optimization of Timed Systems  TA-Modeling of Scheduling Tasks  Transformation of TA into Mixed-Integer Programs  Tree Search for TA using.
Linear Factorizations Sec. 2.6b. First, remind me of the definition of a linear factorization… f (x) = a(x – z )(x – z )…(x – z ) An equation in the following.
INOC 2013 May 2013, Tenerife, Spain Train unit scheduling with bi-level capacity requirements Zhiyuan Lin, Eva Barrena, Raymond Kwan School of Computing,
Math – Graphs of Functions 1. Graph of a function: the graph of all the function’s ordered pairs 2.
Graphing Absolute Value Without a Calculator Objective: You should be able to graph absolute value functions (including their changes) without a calculator.
CS240A: Databases and Knowledge Bases Temporal Databases Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Linear Programming. What is linear programming? Use a system of constraints (inequalities) to find the vertices of the feasible region (overlapping shaded.
Math – Exponential Functions
Constraint Satisfaction Problems/Programming ZUI 2012/2013.
Safety Guarantee of Continuous Join Queries over Punctuated Data Streams Hua-Gang Li *, Songting Chen, Junichi Tatemura Divykant Agrawal, K. Selcuk Candan.
Capsule Placement in the Service Platform Bhuvan Urgaonkar Timothy Roscoe Systems Group, Sprint ATL.
Unit 2 Review. What does the graph tell you???? What is the Domain What is the range What is the y intercept What are the relative max and mins, absolute.
Parent Functions. Learning Goal I will be able to recognize parent functions, graphs, and their characteristics.
Knowledge Representation Techniques
Topics: Be able to writes equations of Linear Functions from numerical representations. Be able to writes equations of Absolute Value Functions from numerical.
Graphing Trigonometric Functions
8-1: Relations and Functions
Discrete Event Simulation
Dealing with Changes of Time-Aware Processes
Topics: Be able to writes equations of Linear Functions from numerical representations. Be able to writes equations of Absolute Value Functions from numerical.
2.2 Square Root of a Function Square Root of the Linear Function
Topics: Be able to writes equations of Linear Functions from numerical representations. Be able to writes equations of Absolute Value Functions from numerical.
Overview Gene Ontology Introduction Biological network data
A graphing calculator is required for some problems or parts of problems 2000.
Homework Analyzing Graphs
Constant Rate of Change
Notes Over 8.3 Simplifying Natural Base Expressions
Constraint satisfaction problems
Warm Up What three terms come next? 1. 9, 12, 15, 18, . . .
Make a table and a graph of the function y = 2x + 4
Warm Up What three terms come next? 1. 9, 12, 15, 18, . . .
UNIT SELF-TEST QUESTIONS
Analysis of Absolute Value Functions Date:______________________
Unit 3-Section 4 “Functions, Tables, Graphs”
Overview: Chapter 4 Infrastructure Establishment
Ordered Pair – (11 - 2) CS-708.
Constraint satisfaction problems
Presentation transcript:

Temporal Constraints Time and Time Again: The Many Ways to Represent Time James F Allen

Overview Various representation techniques – Based on Dating Schemes –Constraint Propagation Approaches –Duration based approaches –Temporal Knowledge Representation Systems Conclusion

Representation Based on Dating Schemes Absolute dating – When events are instantaneous and their complete linear order is known. – A time stamp is associated with each event eg. sec:min:hour – Time comparisons are reduced to numerical calculations. Duration between events can be calculated. Domains –Database transactions using a central clock –Appointment scheduling

Pseudo Dates –Assign a number to each event such that numerical ordering reflects the linear ordering. –Used when absolute time is unknown, but the linear order is known. (e1, T1)=> event e1 occurs at time T1 (e2, T2) => event e2 occurs at time T2 If e3 occurs b/w e1 and e2 then (e3, (T1+T2)/2) –Duration information is lost.

More complex representations –Events that occur over a range but still remain instantaneous. –An event is associated with a pair (e1,l1) –This representation does not work with pseudo-times

Constraint Propagation Approach A graph-based representation. Arcs => relations Nodes => time points (events) Can represent binary relations (e1<e2) Cannot represent disjunctions involving more than two time points (e1<e2 OR e2<e3) When new information is added, it may constraint existing information. Constraints based on transitivity can be used to update graph incrementally.

Constraint Propagation Approach (cont.) Representation becomes complex when events take place over intervals. (non-instantaneous) Some relationships cannot be captured by point-based representations. E1(e1,l1) and E2(e2, l2) E1 :before E2 => (l1<e2) E1 :overlaps E2 => (e1 < e2) & (e2 < l1) & (l1 < l2)

Constraint Propagation Approach (cont.) Allen’s constraint propagation algorithm –Based on intervals, rather than points.

Constraint Propagation Approach (cont.) Ability to capture 2^13 constraints compared to 181 expressible by point-based representation. A NP-complete algorithm exists that can handle such a representation. Allen developed a heuristic O(n 3 ) algorithm. This algorithm is complete with respect to any situation that can be expressed as point-based constraints. The algorithm also handles more complex situations but without the guarantee of completeness.

Duration based representations This representation makes use of duration information. Makes use of an acyclic directed graph that has a well defined start and end node. Each node represents an event and the arcs indicate the associated duration. Each node indicates the earliest and latest starting time. This technique is very useful for scheduling applications, for which it was initially developed.

Duration based representations (cont.)

This technique is useful for domains where duration is known. One unknown duration can render this technique useless. Partial ordering of endpoints cannot be represented by this technique.

Duration based representations (cont.) Dean and McDermott developed a similar representation. Rather than using durations of events as a base, they represent all information as durations between time points. More qualitative information can be described by using infinity as a value for unknown duration values.

Temporal Logic For a temporal representation to be successful, it must be embedded within a more general representation that can encode general assertions about the world. Green(frog1,t1) frog1 is green at time t1 frog1 is green over the time interval t1 This technique does not work with all predicates sun rose over the interval t1 is not equivalent to saying sun rose at every interval in the interval t1. Such predicates take intervals as arguments----Rise(t1,t2)

Temporal Knowledge Representation Systems The RHET system developed at Rochester integrates a temporal reasoner to a general purpose reasoning system. It is a horn based AI representation language that has as a subcomponent the TIMELOGIC temporal reasoning system developed by Koomen and based on Allen's interval logic. RHET is a hybrid system, rather than using a single uniform proof technique, each predicate defined in RHET could potentially use its own specialized techniques for computing its truthhood. [A(x,y)] [B(x)] => [P(x,y)]

Temporal Knowledge Representation Systems (cont.) All temporal relations are represented as [TimeRel t1 r t2] If all variables are bounded then the temporal database is used directly. TIMELOGIC determines set of all possible bindings and this is passed to RHET. Once all the variables are bounded then this information is passed to TIMELOGIC which evaluates the consequences of this binding using constraint propagation.

Conclusion Persistence problem –If P is true over some time interval T1, what can be said about P being true after T1. –Techniques designed to tackle this problem are crude and depend on assumptions. Current techniques on time representation work well in select domains. Not effective in domains where agent has limited knowledge of the world.