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 independence number of a graph G.
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
f G is the number of vertices of a largest induced forest of G as a real.
Equations
- G.f = ↑G.largestInducedForestSize
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.