Orientations of undirected graphs
Content created by Jonathan Prieto-Cubides, Egbert Rijke and Fredrik Bakke.
Created on 2022-03-18.
Last modified on 2024-10-16.
module graph-theory.orientations-undirected-graphs where
Imports
open import foundation.dependent-pair-types open import foundation.universe-levels open import graph-theory.undirected-graphs open import univalent-combinatorics.finite-types
Idea
An orientation of an undirected graph is a function that picks a direction for every edge.
Definition
module _ {l1 l2 : Level} (G : Undirected-Graph l1 l2) where orientation-Undirected-Graph : UU (lsuc lzero ⊔ l1 ⊔ l2) orientation-Undirected-Graph = ( p : unordered-pair-vertices-Undirected-Graph G) → edge-Undirected-Graph G p → type-UU-Fin 2 (pr1 p) source-edge-orientation-Undirected-Graph : orientation-Undirected-Graph → (p : unordered-pair-vertices-Undirected-Graph G) → edge-Undirected-Graph G p → vertex-Undirected-Graph G source-edge-orientation-Undirected-Graph d (pair X p) e = p (d (pair X p) e)
External links
- Orientation on Wikidata
- Orientation (graph theory) at Wikipedia
- Graph orientation at Wolfram MathWorld
Recent changes
- 2024-10-16. Fredrik Bakke. Some links in elementary number theory (#1199).
- 2023-10-13. Egbert Rijke. Fix links to wikidata to the recommended links; add concept tags at end of file for testing purposes (#837).
- 2023-10-12. Egbert Rijke. Creating internal and external links in Graph Theory (#832).
- 2023-03-13. Jonathan Prieto-Cubides. More maintenance (#506).
- 2023-03-10. Fredrik Bakke. Additions to
fix-import
(#497).