Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
public class TrivialGraph<V,E extends Edge<V>,EX extends Exception> extends Object implements SymmetricGraph<V,E,EX>
| Constructor and Description |
|---|
TrivialGraph(V vertex) |
| Modifier and Type | Method and Description |
|---|---|
Set<E> |
getEdgesFrom(V from)
Gets the edges from the provided vertex.
|
Set<E> |
getEdgesTo(V to)
Gets the edges to the provided vertex.
|
Set<V> |
getVertices()
Gets the set of vertices for this graph.
|
public TrivialGraph(V vertex)
public Set<V> getVertices()
MultiGraphgetVertices in interface MultiGraph<V,E extends Edge<V>,EX extends Exception>public Set<E> getEdgesFrom(V from)
Graphpublic Set<E> getEdgesTo(V to)
SymmetricGraphgetEdgesTo in interface SymmetricGraph<V,E extends Edge<V>,EX extends Exception>getEdgesTo in interface SymmetricMultiGraph<V,E extends Edge<V>,EX extends Exception>Copyright © 2000–2016 AO Industries, Inc.. All rights reserved.