Take Grant Model
Take Grant Model
Take Grant Model
Volker Roth
Sommersemester 2009
Initial Remarks
G ` G0
x takes (α to y) from z
t β t β
`
x z y x z y
Grant Rule
z grants(α to y) to x
g β g β
`
x z y x z y
Create Rule
x removes (α to ) y
x takes (α to y) from z
x grants(α to y) to z
x creates (α to new vertex) y
x removes (α to ) y
Definition (tg-path)
A tg-path is a nonempty sequence v0 . . . vn of distinct vertices
such that vi is connected to vi+1 for 0 ≤ i < n by an edge
with a label containing t or g.
Definition (tg-connected)
Two vertices are tg-connected iff there is a tg-path between
them.
Lemma 1
t α t α
`∗
x z y x z y
tg
t α t α
`
x z y x z y
Proof of Lemma 1
z takes (g to v ) from x
v v
g
tg tg
t α t α
`
x z y x z y
Proof of Lemma 1
z grants (α to y) to v
v v
α
g g
tg tg
t α t α
`
x z y x z y
Proof of Lemma 1
x takes (α to y) from v
v
v α
α g
g tg
tg
t α
t α x z y
`
x z y α
Lemma 2
g α g α
`∗
x z y x z y
v
α
g
tg
g α
x z y
α
Definitions
Definition (Island)
An island is a maximal tg-connected subject-only subgraph.
Corollary
Within an island, any right possessed by any vertex can be
shared with any other vertex in the island.
Definition (Bridge)
A bridge is a tg-path with endpoints v0 and vn both subjects
←− − → → −−→← − − →← −←−
and the path’s associated word is in { t∗ , t∗ , t∗ g t∗ , t∗ g t∗ }.
Definition
A vertex x initially spans to y if x is a subject and there is a
tg-path between x and y with an associated word in
→−
− →
{ t∗ g , ν}.
Definition
A vertex x terminally spans to y if x is a subject and there is a
→
−
tg-path between x and y with an associated word in { t∗ , ν}.
Sharing of Rights
Corollary
There is an algorithm of complexity O(|V | + |E |) that tests
the predicate can • share, where V is the set of vertices and E
is the set of edges, in G0 .
g g r, w
r, w
s s
g g r, w
q r, w q r, w
Example