home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!julienas!corton!ilog!lepape
- From: lepape@ilog.fr (Claude Le Pape)
- Newsgroups: comp.ai
- Subject: Re: efficient calculation of path distances in temporal databases.
- Keywords: Temporal reasoning, path distance, backtracking
- Message-ID: <24941@ilog.fr>
- Date: 16 Nov 92 18:31:04 GMT
- References: <1992Nov10.144034.2380@fel.tno.nl>
- Reply-To: lepape@ilog.UUCP (Claude Le Pape)
- Organization: ILOG SA, 2, Avenue Gallieni, BP 85, F-94253 Gentilly Cedex, FRANCE
- Lines: 41
-
-
- In article <1992Nov10.144034.2380@fel.tno.nl>, huyh7@fel.tno.nl (Huy) writes:
-
- > We are searching for an efficient path distance calculation algorithm,
- > applicable to temporal databases. The temporal database is virtually a graph
- > of timepoints connected by edges. The timepoints mark beginnings and endings
- > of events. Each edge is labeled by a pair of integers defining respectively
- > the minimum and maximum duration between the connected timepoints. For
- > instance, if point A and point B are connected by an edge labeled with
- > [3,6], the duration of the edge lies within 3 to 6 time units.
-
- If your problem is merely to determine the longest path (sum) of minimum
- durations (and/or the shortest path of maximum durations) between two
- points, the best buy is probably Ford's algorithm (1956). You shall find
- a description of this algorithm in any standard Operations Research
- book. My favorite:
-
- M. Gondran and M. Minoux
- Graphs and Algorithms
- John Wiley and Sons, 1984.
-
- The algorithm runs in O(n . e) where n is the number of nodes and e
- the number of edges of the graph. Some other algorithms
- (e.g., matrix-based method implementing transitive closure) may
- be worth (in terms of CPU time - not space) if you often modify the
- graph and n is very very large (my experience in scheduling is that
- even for a few hundreds of nodes, Ford's algorithm remains the most
- efficient).
-
- Note also that it may be worth representing a maximum duration d between
- two events e1 and e2 as a minimum duration (- d) between e2 and e1.
-
- Claude Le Pape
-
-
-
- --
- Claude LE PAPE net : lepape@ilog.fr
- ILOG S.A.
- 2 Avenue Gallieni - BP 85 tel : (33 1) 46 63 66 66
- 94253 Gentilly Cedex FRANCE fax : (33 1) 46 63 15 82
-