TypeVertex - The type of values stored in the vertices. Must be a Comparable type.TypeEdgeReal - The real type of edges. Must inherits Edge.public interface EdgesMulti<TypeVertex extends java.lang.Comparable<TypeVertex>,TypeEdgeReal extends Edge<TypeVertex>> extends Edges<TypeVertex,TypeEdgeReal>, Multi
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TypeEdgeReal> |
get(TypeVertex head,
TypeVertex tail)
Get the list of edges matching with specified head and tail.
|
java.util.List<TypeEdgeReal> |
get(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail)
Get the list of edges matching with specified head and tail.
|
boolean |
removeAll(TypeVertex head,
TypeVertex tail)
Remove all edges matching with specified head and tail.
|
boolean |
removeAll(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail)
Remove all edges matching with specified head and tail.
|
java.util.List<TypeEdgeReal> get(TypeVertex head, TypeVertex tail)
head - The head of the edge (interchangeable with the tail if the graph is undirected).tail - The head of the edge (interchangeable with the tail if the graph is undirected).java.util.List<TypeEdgeReal> get(Vertex<TypeVertex> head, Vertex<TypeVertex> tail)
head - The head of the edge (interchangeable with the tail if the graph is undirected).tail - The head of the edge (interchangeable with the tail if the graph is undirected).boolean removeAll(TypeVertex head, TypeVertex tail)
head - The head of the edge (interchangeable with the tail if the graph is undirected).tail - The head of the edge (interchangeable with the tail if the graph is undirected).boolean removeAll(Vertex<TypeVertex> head, Vertex<TypeVertex> tail)
head - The head of the edge (interchangeable with the tail if the graph is undirected).tail - The head of the edge (interchangeable with the tail if the graph is undirected).