public interface GraphFactory<N,E>
| Modifier and Type | Method and Description |
|---|---|
Edge<N,E> |
createEdge(N a,
N b,
E e)
Создание ребра с вершинами
|
Collection<Edge<N,E>> |
createEdgePairs()
Создание списка ребр с вершинами
|
Collection<E> |
createEdges()
Создание списка ребр
|
Collection<N> |
createNodes()
Создаение списка вершин
|
Edge<N,E> createEdge(N a, N b, E e)
a - Вершина Аe - Ребро между вершинами А и Бb - Вершина БCollection<Edge<N,E>> createEdgePairs()
Collection<N> createNodes()
Collection<E> createEdges()
Copyright © 2017. All rights reserved.