Solving systems of difference constraints incrementally

Cited 18 time in webofscience Cited 25 time in scopus
  • Hit : 444
  • Download : 0
Difference constraints systems consisting of inequalities of the form x(i) - x(j) less than or equal to b(i.j) occur in many applications, most notably those involving temporal reasoning. Often, it is necessary to maintain a solution to such a system as constraints are added, modified, and deleted. Existing algorithms handle modifications by solving the resulting system anew each time, which is inefficient. The best known algorithm to determine if a system of difference constraints is feasible (i.e., if it has a solution) and to compute a solution runs in Theta(mn) time, where n is the number of variables and m is the number of constraints. This paper presents a new efficient incremental algorithm for maintaining a solution to a system of difference constraints. As constraints are added, modified, or deleted, the algorithm determines if the new system is feasible and updates its solution. When the system becomes infeasible, the algorithm continues to process changes until it becomes feasible again, at which point a feasible solution will be produced. The algorithm processes the addition of a constraint in time O (m + n log n) and the removal of a constraint in constant time when the original system is feasible. More precisely, additions are processed in time O(parallel to Delta parallel to + \Delta\ log\Delta\) where \Delta\ is the number of variables whose values are changed to compute the new feasible solution, and parallel to Delta parallel to is the number of constraints involving the variables whose values are changed. When the original system is infeasible, the algorithm processes any change in O(m + n log n) amortized time. The new algorithm can also be used to check for the existence of negative cycles in dynamic graphs.
Publisher
SPRINGER VERLAG
Issue Date
1999-03
Language
English
Article Type
Article
Keywords

SHORTEST-PATH PROBLEM; COMPUTATIONAL-COMPLEXITY; ALGORITHMS

Citation

ALGORITHMICA, v.23, no.3, pp.261 - 275

ISSN
0178-4617
DOI
10.1007/PL00009261
URI
http://hdl.handle.net/10203/77029
Appears in Collection
CS-Journal Papers(저널논문)
Files in This Item
There are no files associated with this item.
This item is cited by other documents in WoS
⊙ Detail Information in WoSⓡ Click to see webofscience_button
⊙ Cited 18 items in WoS Click to see citing articles in records_button

qr_code

  • mendeley

    citeulike


rss_1.0 rss_2.0 atom_1.0