answersLogoWhite

0

Graph (data structure) A labeled graph of 6 vertices and 7 edges.

In computer science, a graph is an abstract data structure that is meant to implement the graph concept from mathematics.

A graph data structure consists mainly of a finite (and possibly mutable) set of ordered pairs, called edges or arcs, of certain entities called nodes or vertices. As in mathematics, an edge (x,y) is said to point or go from x to y. The nodes may be part of the graph structure, or may be external entities represented by integer indices or references.

A graph data structure may also associate to each edge some edge value, such as a symbolic label or a numeric attribute (cost, capacity, length, etc.).

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Difference types of nonlinear data structure?

Tree, Graphs are the types of nonlinear data structure.


What data structure is used to represent graphs in c language?

A tree.


What is data structure?

The data structures are user defined data types specifically created for the manipulation of data in a predefined manner. Examples of data structures would be stacks,queues,trees,graphs and even arrays(also reffered as data structure)


What type of graphs use categorical data?

bar graphs use categorical data


Why does data presented in a line graphs?

line graphs are usually the most best way to present data. sometimes i use pie graphs or bar graphs, but usually line graphs are the most meaningful.


Why are graphs important in statistics?

Graphs visualize data allowing the brain to interpret a large data set quickly and infer trends.


How are line bar and pie graphs the same?

They both show a set of data. Line graphs show data over time. Pie graphs show percentages in data.


What Tree types of graphs to display data?

line graphs, bar graphs,and circle


What are table graphs used for?

graphs are to compare and contrast data


What are bar graphs for?

bar graphs are for measuring points of data.


What are 2 graphs that compare 2 sets of data?

Bar graphs can compare two sets of data, as well as line graphs and circle graphs. To better improve my answer, double line graphs and double bar graphs compare two sets of data. Circle graphs cannot however, because they compare parts of a whole instead of, as a bar graph would, the amount of something. A circle graph is also incapable of showing data growth over a period of time, as line graphs do. All in all, circle graphs cannot compare to sets of data, and bar graphs and line graphs must be doubled to do so.


What is are the differences between circle graphs line graphs and bar graphs?

Circle graphs show data in a circle, while line graphs are akin to join the dots, and a bar graph shows data in vertical or horizontal bars, but all three show the same data results.