Ls G is the maximum number of leaves over all spanning trees of G.
It is defined to be 0 when G is not connected.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The maximum cardinality among all independent sets s
that maximize the quantity |s| - |N(s)|, where N(s)
is the neighborhood of the set s.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The degree sequence of a graph, sorted in nondecreasing order.
Equations
- G.degreeSequence = (Multiset.map (fun (v : α) => G.degree v) Finset.univ.val).sort fun (x1 x2 : ℕ) => x1 ≤ x2
Instances For
The maximum number of occurrences of any term of the degree sequence of G.
Equations
- G.degreeSequenceMultiplicity = (List.map (fun (d : ℕ) => List.count d G.degreeSequence) G.degreeSequence).max?.getD 0
Instances For
largestInducedBipartiteSubgraphSize G is the size of a largest induced
bipartite subgraph of G.
Equations
- G.largestInducedBipartiteSubgraphSize = sSup {n : ℕ | ∃ (s : Finset α), (SimpleGraph.induce (↑s) G).IsBipartite ∧ s.card = n}
Instances For
b G is the number of vertices of a largest induced bipartite subgraph of G.
Returned as a real number.
Equations
Instances For
Independence number of the neighbourhood of v.
Equations
- G.indepNeighborsCard v = (SimpleGraph.induce (G.neighborSet v) G).indepNum
Instances For
The same quantity as a real number.
Equations
- G.indepNeighbors v = ↑(G.indepNeighborsCard v)
Instances For
Average of indepNeighbors over all vertices.
Equations
- G.averageIndepNeighbors = (∑ v : α, G.indepNeighbors v) / ↑(Fintype.card α)
Instances For
A unit distance graph in ℝ²: A graph where the vertices V are a collection of points in ℝ² and there is an edge between two points if and only if the distance between them is 1.
Equations
Instances For
Two walks are internally disjoint if they share no vertices other than their endpoints.
Equations
Instances For
We say a graph is infinitely connected if any two vertices are connected by infinitely many pairwise disjoint paths.
Equations
Instances For
Infinite graphs: definitions for max degree and clique number so that the maximum
degree (resp. clique number) of a graph with unbounded degree (resp. clique size) is
∞ rather than 0.
Equations
- G.edegree v = (G.neighborSet v).encard
Instances For
Equations
- G.emaxDegree = ⨆ (v : V), G.edegree v
Instances For
Equations
- G.ecliqueNum = ⨆ (s : Finset V), ⨆ (_ : G.IsClique ↑s), ↑s.card