Package | Description |
---|---|
oracle.pgx.algorithm | |
oracle.pgx.algorithm.filter |
Modifier and Type | Field and Description |
---|---|
static PgxEdge |
PgxEdge.NONE
A value indicating the absence of an edge.
|
Modifier and Type | Method and Description |
---|---|
PgxEdge |
PgxVertex.edge()
Get the edge through which this vertex was reached.
|
PgxEdge |
EdgeSequence.front()
Get the edge at the front of the sequence.
|
PgxEdge |
PgxVertex.parentEdge()
Returns the edge through which this vertex was reached.
|
PgxEdge |
EdgeSequence.pop()
Remove and return an edge from the sequence.
|
PgxEdge |
EdgeSequence.popBack()
Remove and return the edge at the back of the sequence.
|
PgxEdge |
EdgeSequence.popFront()
Remove and return the edge at the front of the sequence.
|
Modifier and Type | Method and Description |
---|---|
void |
EdgeSet.add(PgxEdge e)
Add the edge to the set.
|
boolean |
EdgeSequence.contains(PgxEdge e)
Check if the sequence contains the given edge.
|
void |
EdgeProperty.decrement(PgxEdge edge)
Decrement the property of the given edge.
|
T |
EdgeProperty.get(PgxEdge edge)
Get the property for the given edge.
|
void |
EdgeProperty.increment(PgxEdge edge)
Increment the property of the given edge.
|
void |
EdgeSequence.push(PgxEdge e)
Add an edge to the sequence.
|
void |
EdgeSequence.pushBack(PgxEdge e)
Add an edge to the back of the sequence.
|
void |
EdgeSequence.pushFront(PgxEdge e)
Add an edge to the front of the sequence.
|
void |
EdgeProperty.reduceAdd(PgxEdge edge, T value)
Atomically update the edge's property to the sum of the current value and the given value.
|
void |
EdgeProperty.reduceAnd(PgxEdge edge, T value)
Atomically update the edge's property to the conjunction of the current value and the given value.
|
void |
EdgeProperty.reduceMax(PgxEdge edge, T value)
Atomically update the given edge's property to the maximum of the current value and the given value.
|
void |
EdgeProperty.reduceMin(PgxEdge edge, T value)
Atomically update the given vertex's property to the minimum of the current value and the given value.
|
void |
EdgeProperty.reduceMul(PgxEdge edge, T value)
Atomically update the edge's property to the multiplication of the current value and the given value.
|
void |
EdgeProperty.reduceOr(PgxEdge edge, T value)
Atomically update the edge's property to the disjunction of the current value and the given value.
|
void |
EdgeSet.remove(PgxEdge e)
Remove the edge from the set.
|
void |
EdgeProperty.set(PgxEdge edge, T value)
Set the value of the edge property for the given edge.
|
void |
EdgeProperty.setDeferred(PgxEdge edge, T value)
Set the edge property to the given value, but only after the current parallel region finishes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EdgeSet.allMatch(java.util.function.Predicate<PgxEdge> predicate)
Check if the predicate holds for all edges in the set.
|
boolean |
EdgeSet.anyMatch(java.util.function.Predicate<PgxEdge> predicate)
Check if the predicate holds for any edge in the set.
|
EdgeSet |
EdgeSet.filter(java.util.function.Predicate<PgxEdge> predicate)
Filter the edges in the set by the given predicate.
|
EdgeSequence |
EdgeSequence.filter(java.util.function.Predicate<PgxEdge> predicate)
Filter the edges in the sequence by the given predicate.
|
void |
EdgeSet.forEach(java.util.function.Consumer<PgxEdge> callable)
Run the callable for each edge in the set in parallel.
|
void |
EdgeSequence.forEach(java.util.function.Consumer<PgxEdge> callable)
Run the callable for each edge in the sequence in parallel.
|
void |
EdgeSet.forSequential(java.util.function.Consumer<PgxEdge> callable)
Run the callable for each edge in the set in sequence.
|
void |
EdgeSequence.forSequential(java.util.function.Consumer<PgxEdge> callable)
Run the callable for each edge in the sequence in sequence.
|
<T extends java.lang.Number> |
EdgeSet.max(java.util.function.Function<PgxEdge,T> reducer)
Apply the reducer to each edge in the set and compute the maximum.
|
EdgeSet |
EdgeSet.orderBy(java.util.function.Function<PgxEdge,java.lang.Number> transform, Order order)
Order the edges in the set based on the result of the transformation function.
|
void |
EdgeProperty.setAll(java.util.function.Function<PgxEdge,T> transform)
Set the edge property for each edge to the value based on the transformation function.
|
<T extends java.lang.Number> |
EdgeSet.sum(java.util.function.Function<PgxEdge,T> reducer)
Apply the reducer to each edge in the set and sum the results.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EdgeFilter.evaluate(PgxEdge e) |