Modifier and Type | Interface and Description |
---|---|
interface |
Vertices<TypeVertex extends java.lang.Comparable<TypeVertex>,TypeVertexReal extends Vertex<TypeVertex>>
Top-level interface of vertex sets.
|
Modifier and Type | Interface and Description |
---|---|
interface |
VertexDirected<TypeVertex extends java.lang.Comparable<TypeVertex>>
Interface of vertex directed in graphs.
|
interface |
VertexUndirected<TypeVertex extends java.lang.Comparable<TypeVertex>>
Interface of an node undirected in graphs.
|
Modifier and Type | Method and Description |
---|---|
Vertex<TypeVertex> |
Edge.getHead()
Get the head of the edge.
|
Vertex<TypeVertex> |
Edge.getTail()
Get the tail of the edge.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<? extends Vertex<TypeVertex>> |
Vertex.getNextVertices()
Get vertices set reachable from this vertex.
|
Vertices<TypeVertex,? extends Vertex<TypeVertex>> |
GraphUnvaluated.getVertices() |
Vertices<TypeVertex,? extends Vertex<TypeVertex>> |
GraphValuated.getVertices() |
Vertices<TypeVertex,? extends Vertex<TypeVertex>> |
Graph.getVertices()
Get the vertices of the graph.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Edges.add(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail)
Add a new edge in the graph.
|
boolean |
Edges.add(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail)
Add a new edge in the graph.
|
boolean |
EdgesValuated.add(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail,
TypeEdge value)
Add a new edge in the graph.
|
boolean |
EdgesValuated.add(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail,
TypeEdge value)
Add a new edge in the graph.
|
boolean |
Edges.contains(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail)
Returns true if this collection contains the specified edge.
|
boolean |
Edges.contains(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail)
Returns true if this collection contains the specified edge.
|
boolean |
EdgesValuated.contains(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail,
TypeEdge value)
Returns true if this collection contains the specified edge.
|
boolean |
EdgesValuated.contains(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail,
TypeEdge value)
Returns true if this collection contains the specified edge.
|
java.util.List<TypeEdgeReal> |
EdgesMulti.get(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail)
Get the list of edges matching with specified head and tail.
|
java.util.List<TypeEdgeReal> |
EdgesMulti.get(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail)
Get the list of edges matching with specified head and tail.
|
TypeEdgeReal |
EdgesSimple.get(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail)
Get the edge matching with specified head and tail.
|
TypeEdgeReal |
EdgesSimple.get(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail)
Get the edge matching with specified head and tail.
|
boolean |
EdgesMulti.removeAll(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail)
Remove all edges matching with specified head and tail.
|
boolean |
EdgesMulti.removeAll(Vertex<TypeVertex> head,
Vertex<TypeVertex> tail)
Remove all edges matching with specified head and tail.
|