Top Banner
RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds
39

RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

Aug 19, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

RELATIONS on GRAPHS & HYPERGRAPHS

John Stell

School of ComputingUniversity of Leeds

Page 2: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 3: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 4: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 5: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

PaddingtonReading

SwanseaSwindon

Bham N.St Bham IntlEuston

Oxford

Page 6: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

Reading Paddington

EustonBirmingham

Page 7: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

Birmingham

London

Page 8: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 9: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 10: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 11: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 12: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

Given image A ⊆ Z2 and structuring element

E ⊆ Z2, dilation A⊕E, and erosion AE are:

A⊕ E = {x ∈ Z2 | ∃y ∈ (x+ E∗) · y ∈ A}

A E = {x ∈ Z2 | ∀y ∈ (x+ E) · y ∈ A}

where E∗ = {−e | e ∈ E}.

Page 13: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 14: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

opening: A ◦ E = (A E)⊕ E,closing: A • E = (A⊕ E) E.

A ◦ E =⋃{x+ E | x+ E ⊆ A}

A • E = X − ⋃{x+ E∗ | x+ E∗ ⊆ (X −A)}

Page 15: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 16: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 17: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 18: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 19: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 20: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 21: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 22: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 23: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

PX

⊕R>

⊥<

RPX

(PX)op

−op

∼= −

∨ R∗ >

⊥<

⊕R∗(PX)op

−op

∼= −

Page 24: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

A relation R on a set X is equivalently:

A subset of X ×X

A function X → PX

A sup-preserving function PX → PX

Page 25: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

What if we want relations on a graph to cor-

respond to

sup-preserving functions on the lattice of sub-

graphs?

Is there a notion of converse (and symmetry)

for such relations?

Page 26: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

Lattice is subgraphs is a bi-Heyting algebra.

Instead of the Boolean complement we have

the pseudocomplement ¬

and its dual or supplement¬

Page 27: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 28: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

a

b c

d

e

f

s t

u v x

w y

z

Page 29: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

a

b c

d

ef

s t

u v

xw y

z

Page 30: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

A hypergraph consists of a set H and a re-

lation ϕ on H s.t.

x ϕ y ⇒ (y ϕ z ⇔ y = z).

A sub-hypergraph is K ⊆ H s.t K ⊕ ϕ ⊆ K

Page 31: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

A hypergraph relation on (H,ϕ) is a relation

R on H such that R ; ϕ ⊆ R and ϕ ;R ⊆ R.

Hypergraph relations are closed under com-

position, with identity Iϕ = IH ∪ ϕ.

R is a hypergraph relation iff R = Iϕ ;R ; Iϕ

Page 32: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

The quantale of hypergraph relations on (H,ϕ)

is isomorphic to the quantale of sup-preserving

mappings on the lattice of sub-hypergraphs.

It is clear what reflexivity and transitivity mean

for hypergraph relations, but is there an ana-

logue of symmetry?

Can we define the converse of a hypergraph

relation?

Page 33: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

δ>

⊥<

ε

(Lϕ)op

¬op

∨ (ε∗)op>

⊥<

(δ∗)op

(Lϕ)op

¬op

` ¬

Page 34: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

We can define the converse of δ to be ¬ ;ε ;¬

but what does this mean in terms of rela-

tions?

In fact, it’s the same as taking the converse

of a hypergraph relation R to be Iϕ ; R∗ ; Iϕ

where R∗ is the ordinary converse.

Page 35: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

Writing R← = Iϕ ;R∗ ; Iϕ we find

(R ; S)← 6 S← ;R←

R 6 (R←)←

Iϕ 6 (Iϕ)←

Page 36: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

Back to the original motivation: granularity

Can we use this notion of converse to de-

fine symmetry and would the corresponding

notion of equivalence relation give a good

notion of partition?

First recall the notion of interior for sub-

graphs.

Page 37: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St
Page 38: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St

We can consider R 6 R← as a criterion for

symmetry

When R satisfies this and also R ; R 6 R we

do get:

If x and y are nodes and y⊕R intersects the

interior of x⊕R then y ⊕R 6 x⊕R.

Page 39: RELATIONS on GRAPHS & HYPERGRAPHS John Stell School of ... · GRAPHS & HYPERGRAPHS John Stell School of Computing University of Leeds. Reading Paddington Swansea Swindon Bham N.St