Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What do the absolute value bars mean in graph theory?

Tags:

notation

Just wanted to know, for example in the wikipedia page Dijkstra's algorithm what the absolute value bars meant in O(|E| + |V|log|V|)

like image 233
William Rookwood Avatar asked Feb 23 '13 06:02

William Rookwood


People also ask

What does absolute value mean in graph?

The absolute value of a number represents its distance from 0. Graphing absolute value equations allows us to visually understand this concept in terms of x and y-intercepts. It also teaches us how to determine the vertex of an absolute value function and whether it will be upward or downward-facing.

What does the graph of an absolute value function look like?

Every absolute value graph will make a “V”-shaped figure. It consists of two pieces: one with a negative slope and one with a positive slope. The point of their intersection is called the vertex.

What does absolute value measure?

Absolute value describes the distance from zero that a number is on the number line, without considering direction. The absolute value of a number is never negative. Take a look at some examples. The absolute value of 5 is 5. The distance from 5 to 0 is 5 units.


1 Answers

The vertical bars indicate the cardinality (or size) of a set. In the case of Dijkstra's algorithm, |E| is the number of edges and |V| is the number of vertices.

like image 171
Blckknght Avatar answered Sep 22 '22 18:09

Blckknght