graphing and network terms Flashcards

1
Q

Adjacency matrix

A

An adjacency matrix for a non-directed graph with vertices is a matrix in which the entry in rows and columns is the number of edges joining the vertices
i and j in an adjacency matrix, a loop is counted as 1 edge.

For a directed graph the entry in rows and columns is the number of directed edges (arcs) joining the vertex i and j in the direction i to j.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Bipartite graph

A

A bipartite graph is a graph whose set of vertices can be split into two distinct groups in such a way that each edge of the graph joins a vertex in the first group to a vertex in the second group.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Complete graph

A

A complete graph is a simple graph in which every vertex is joined to every other vertex by an edge. The complete graph with vertices is denoted . A complete bipartite graph is a bipartite graph where every vertex of the first set is connected to every vertex of the second set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Connected graph

A

A graph is connected if there is a path between each pair of vertices. A bridge is an edge in a connected graph that, if removed, leaves a graph disconnected.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Cycle

A

A cycle is a closed walk which begins and ends at the same vertex and which has no repeated edges or vertices except the first. If , , and are the vertices of a graph, the closed walk that starts and ends at vertex (shown dotted) an example of a cycle.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Degree of a vertex (graph)

A

In a graph, the degree of a vertex is the number of edges incident with the vertex, with loops counted twice. It is denoted deg .

In the graph below, deg =4, deg =2, deg =4 and deg =2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Directed graph

A

A directed graph is a diagram comprising points, called vertices, joined by directed lines called arcs. The directed graphs are commonly called digraphs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Eulers formula

A

For a connected planar graph, states that , where is the number vertices, is the number of edges and is the number of faces.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Eulerian graph

A

A connected graph is Eulerian if it has a closed trail (starts and ends at the same vertex), that is, includes every edge and once only; such a trail is called an Eulerian trail. An Eulerian trail may include repeated vertices. A connected graph is

semi-Eulerian if there is an open trail that includes every edge once only.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Face

A

The faces of a planar graph are the regions bounded by the edges, including the outer infinitely large region. The planar graph shown has four faces.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Food web

A

A food web (or food chain) depicts feeding connections (who eats whom) in an ecological community.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Graph

A

A graph is a diagram that consists of a set of points, called vertices, that are joined by a set of lines called edges. Each edge joins two vertices. A loop is an edge in a graph that joins a vertex in a graph to itself. Two vertices are adjacent if they are joined by an edge. Two or more edges which connect the same vertices are called multiple edges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Hamiltonian cycle

A

A Hamiltonian cycle is a cycle that includes each vertex in a graph (except the first), once only.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Hamiltonian path

A

A Hamiltonian path is a path that includes every vertex in a graph once only.

A Hamilton path that begins and ends at the same vertex is a Hamiltonian cycle.

These concepts are useful in solving practical problems, such as: planning a sight-seeing tourist route around a city, or the travelling-salesman problem.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Length (of a walk)

A

The length of a walk is the number of edges it includes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Network

A

The word network is frequently used in everyday life, for example, television network, rail network. Practical situations that the construction of a network can represent include trails connecting campsites in a National Park, a social network, a transport network with one-way streets, a food web, the results of a round-robin sporting competition.

Weighted graphs or digraphs can often be used to model such networks.

17
Q

Path (in a graph)

A

A path in a graph is a walk in which all of the edges and all the vertices are different. A path that starts and finishes at different vertices is said to be open, while a path that starts and finishes at the same vertex is said to be closed. A cycle is a closed path.

If and are the vertices of a graph, a walk from to along the dotted edges is a path. Depending on the graph, there may be multiple paths between the same two vertices, as is the case here.

18
Q

Planar graph

A

A planar graph is a graph that can be drawn in the plane. A planar graph can always be drawn so that no two edges cross.

19
Q

Simple graph

A

A simple graph has no loops or multiple edges.

20
Q

Subgraph

A

When the vertices and edges of a graph A (shown dotted) are also vertices and edges of the graph G , graph A is said to be a subgraph of graph G .

21
Q

Trail

A

A trail is a walk in which no edge is repeated.

22
Q

Walk (in a graph)

A

A walk in a graph is a sequence of vertices such that from each of its vertices there is an edge to the next vertex in the sequence. A walk that starts and finishes at different vertices is said to be an open walk. A walk that starts and finishes at the same vertex is said to be closed walk.

If a, b, c and d are the vertices of a graph with edges ab, bc, cc, cd and bd then the sequence of edges (ab, bc, cc, cd ) constitute a walk. The route followed on this walk is shown dotted on the graph below.

This walk is denoted by the sequence of vertices abccd. The walk is open because it begins and finishes at different vertices.

A walk can include repeated vertices (as is the case above) or repeated edges. A example of a closed walk with both repeated edges, and hence vertices, is defined by the sequence of edges (ab, bd, bd, ba) and is denoted by the sequence of vertices abdba. The route followed is shown dotted in the graph below.

Depending on the graph, there may be multiple walks between the same two vertices, as is the case here.

23
Q

Weighted graph

A

A weighted graph is a graph in which each edge is labelled with a number used to represent some quantity associated with the edge. For example, if the vertices represent towns, the weights on the edges may represent the distances in kilometres between the towns.

24
Q

what is open

A

doesn’t start and end at the same location

25
Q

what is closed

A

starts and ends at the same place

26
Q

what is a trail

A

no repeat edges

27
Q

what is a path

A

a open graph that has no repeat vertices

28
Q

what is a cycle

A

a closed graph that has no repeat vertices

29
Q
A

a graph

30
Q

what is the formula for finding the max edges if you are given the number of vertices

A

n(n-1)/2

31
Q

what is the formula for finding the min edges if you are given the number of vertices

A

n-1