Graphs Flashcards
What is the definition of a graph?
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/579/976/a_image_thumb.png?1513172377)
What does adjacent mean in a graph? Draw an example.
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/580/020/a_image_thumb.png?1513172442)
What is the definition of an undirected graph?
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/580/094/a_image_thumb.png?1513172470)
What is the definition of a directed graph?
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/580/096/a_image_thumb.png?1513172499)
Explain how a tree is a directed graph
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/580/101/a_image_thumb.png?1513172522)
What is a path in a graph?
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/580/111/a_image_thumb.png?1513172549)
What is a cycle in a graph?
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/580/124/a_image_thumb.png?1513172570)
What does connected mean in a graph?
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/580/126/a_image_thumb.png?1513172601)
What does it mean for a graph to be complete?
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/580/220/a_image_thumb.png?1513172625)
What is a subgraph in a graph?
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/580/233/a_image_thumb.png?1513172646)
What type of information can the vertices represented in a graph?
What type of information can an edge represent in a graph?
Vertices
- The vertices in a graph may represent something(cities on a map, computers in a network)
- Vertices in a graph may contain information(information about the cities or computers represeted
Edges
- The edges may represent spatial connections between vertices or some other type of connection between the vertices.
- The edges may also contain information(distance between two cities, the cost of travel between two cities, capacity of a computer connection, weight of a connection in a neural network).
- If the information is a number, then the graph is called a weighted graph
In general, what is an Adjacency Matrix?
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/580/307/a_image_thumb.png?1513172874)
What is an example of an adjacency matric of an undirected graph?
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/580/674/a_image_thumb.png?1513172919)
What is an example of an adjacency matrix of a Digraph
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/580/689/a_image_thumb.png?1513172946)
What is an example of an adjacency matrix of a weighted graph?
![](https://s3.amazonaws.com/brainscape-prod/system/cm/227/580/712/a_image_thumb.png?1513172971)