Package | Description |
---|---|
oracle.pgx.algorithm |
Modifier and Type | Method and Description |
---|---|
default VertexSet |
VertexSet.clone()
Clone this vertex set.
|
static VertexSet |
VertexSet.create()
Instantiate a new vertex set.
|
VertexSet |
VertexSet.filter(java.util.function.Predicate<PgxVertex> predicate)
Filter the vertices in the set by the given predicate.
|
VertexSet |
VertexSequence.filter(java.util.function.Predicate<PgxVertex> predicate)
Filter the vertices in the sequence by the given predicate.
|
VertexSet |
VertexSet.filter(VertexProperty<java.lang.Boolean> property)
Filter the vertices in the set by the given boolean property.
|
VertexSet |
VertexSequence.filter(VertexProperty<java.lang.Boolean> property)
Filter the vertices in the sequence by the given boolean property.
|
VertexSet |
PgxVertex.getDownNeighbors()
Get the down-neighbors.
|
VertexSet |
PgxVertex.getInNeighbors()
Returns all incoming neighbors of this vertex, i.e., all vertices that have an edge to this vertex.
|
VertexSet |
PgxVertex.getNeighbors()
Returns all neighbors of this vertex.
|
VertexSet |
PgxVertex.getOutNeighbors()
Returns all outgoing neighbors of this vertex, i.e., all nodes this vertex has an edge to.
|
VertexSet |
PgxVertex.getUpNeighbors()
Get the up-neighbors.
|
VertexSet |
PgxGraph.getVertices()
Return a (lazy) set of vertices that can be iterated over.
|
VertexSet |
VertexSet.orderBy(java.util.function.Function<PgxVertex,java.lang.Number> transform, Order order)
Order the vertices in the set based on the result of the transformation function.
|
VertexSet |
VertexSet.orderBy(VertexProperty vertexProperty, Order order)
Order the vertices based on the value of the property.
|