90 likes | 101 Views
This article explores the implementation methods for evaluating and manipulating gap-graphs, which visually represent conjunctions of difference constraints. It discusses techniques such as shortcuts, merging, relation algebra, and matrix representation. Additionally, it addresses questions regarding satisfiability testing, vertex shortcutting, graph merging, datalog query evaluation, finding complement and difference, set-graphs, and optimization of relational algebra.
E N D
12. Implementation Methods Evaluation with gap-graphs Gap-graphs – visually represents a conjunctions of difference constraints
Merge – union vertices and edges from both input gap-order graphs. If some edge occurs but different labels, then keep larger label. Relation algebra on set of gap-graphs – can be defined based on shortcut and merge.
Evaluation with matricesMatrix representation of first gap-graph: Question: how can we test satisfiability of a gap- graph ?
Question: how can we shortcut a vertex ? Question: how can we merge two gap-graph ?
Question: how do we evaluate datalog queries ? Question: how do we find complement and difference ?
Boolean constraints • Set-graphs – represent conjunction of subset constraints
Pairs of matrices for each set-graph Question: how do we test satisfiability ?
Optimization of relational algebra • Perform selection and projection as early as possible by applying algebraic rewrite rules.