A graph is an ordered pair of sets of vertices and of edges, that are disjoint together with an incedence function that associates with
Degree of a Vertex
Suppose that is a graph, then we say that the degree of a vertex is the number of other vertices connected to it with an edge. We define the syntax to be the function that maps a node to it's degree.
Sum of Degrees
Suppose that is a finite graph, then we have that
Branching Factor
Suppose that we have a graph , then we say that has branching factor , if every vertex has degree
Average Branching Factor
Suppose that is a finite graph, then the average branching factor of the graph is defined as
Maximum Branching Factor
Suppose that we have a graph , then we say that has a maximum branching factor of , if every vertex has degree at most
Path
A tuple is said to be a path if for every , .
Connected Vertices
Suppose that , then we say that are connected if there is a path where and
Connected Graph
Given a graph we say that it is connected when for every , we have that and are connected.
A Graph with One Vertex is Connected
Suppose that where , then is conntected.
Suppose that , then , therefore the path connects it to itself.
A Disconnected Graph is the Union of Many Disjoint Connected Subgraphs
Suppose that is a disconnected graph, then is the disjoint union of 2 or more connected subgraphs