Documentation

TauCeti.Combinatorics.Graph.EdgeEnds

Endpoints of an actual multigraph edge #

This file associates to every actual edge of a multigraph the unordered pair of its actual vertices. It provides an endpoint interface that retains edge identities for parallel edges.

Main definition #

noncomputable def Graph.edgeEnds {V : Type u_1} {E : Type u_2} (G : Graph V E) (e : ↑G.edgeSet) :

The unordered pair of actual vertices at the ends of an actual edge.

Instances For
    @[simp]
    theorem Graph.mem_edgeEnds_iff {V : Type u_1} {E : Type u_2} (G : Graph V E) (e : ↑G.edgeSet) (x : ↑G.vertexSet) :
    x ∈ G.edgeEnds e ↔ G.Inc ↑e ↑x

    The vertices in edgeEnds e are exactly the vertices incident to e.