Студопедия

КАТЕГОРИИ:


Архитектура-(3434)Астрономия-(809)Биология-(7483)Биотехнологии-(1457)Военное дело-(14632)Высокие технологии-(1363)География-(913)Геология-(1438)Государство-(451)Демография-(1065)Дом-(47672)Журналистика и СМИ-(912)Изобретательство-(14524)Иностранные языки-(4268)Информатика-(17799)Искусство-(1338)История-(13644)Компьютеры-(11121)Косметика-(55)Кулинария-(373)Культура-(8427)Лингвистика-(374)Литература-(1642)Маркетинг-(23702)Математика-(16968)Машиностроение-(1700)Медицина-(12668)Менеджмент-(24684)Механика-(15423)Науковедение-(506)Образование-(11852)Охрана труда-(3308)Педагогика-(5571)Полиграфия-(1312)Политика-(7869)Право-(5454)Приборостроение-(1369)Программирование-(2801)Производство-(97182)Промышленность-(8706)Психология-(18388)Религия-(3217)Связь-(10668)Сельское хозяйство-(299)Социология-(6455)Спорт-(42831)Строительство-(4793)Торговля-(5050)Транспорт-(2929)Туризм-(1568)Физика-(3942)Философия-(17015)Финансы-(26596)Химия-(22929)Экология-(12095)Экономика-(9961)Электроника-(8441)Электротехника-(4623)Энергетика-(12629)Юриспруденция-(1492)Ядерная техника-(1748)

Representing graphs




Lecture 12

Glossary

New graphs from old

When edges and vertices are removed from a graph, without removing endpoints of any remaining edges, a smaller graph is obtained. Such a graph is called a subgraph of the original graph.

A subgraph of a graph is a graph where and .

The union of two simple graphs and is the simple graph with vertex set and edge set . The union of G 1 and G 2 is denoted by .

Example. Find the union of the graphs G 1 and G 2.

Solution: The vertex set of the union is the union of the two vertex sets, namely, { a, b, c, d, e, f }. The edge set of the union is the union of the two edge sets.

 

adjacent – соседний, смежный; pendant – подвесная, висячая; handshake – рукопожатие

bipartite – двусторонний; loop – петля

 

 


One way to represent a graph without multiple edges is to list all the edges of this graph. Another way to represent a graph with no multiple edges is to use adjacency lists, which specify the vertices that are adjacent to each vertex of the graph.

Example. Use adjacency lists to describe the simple graph given in Figure below.

Solution:

An edge list for a simple graph
Vertex Adjacent vertices
a b c d e b, c, e a a, d, e c, e a, c, d

Example. Represent the directed graph by listing all the vertices that are the terminal vertices of edges starting at each vertex of the graph.

Solution:

An edge list for a directed graph
Initial vertex Terminal vertex
a b c d e b, c, d, e b, d a, c, e b, c, d

 




Поделиться с друзьями:


Дата добавления: 2014-12-23; Просмотров: 340; Нарушение авторских прав?; Мы поможем в написании вашей работы!


Нам важно ваше мнение! Был ли полезен опубликованный материал? Да | Нет



studopedia.su - Студопедия (2013 - 2024) год. Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав! Последнее добавление




Генерация страницы за: 0.007 сек.