Uses of Interface
oracle.pgx.algorithm.PgxVertex
-
Packages that use PgxVertex Package Description oracle.pgx.algorithm oracle.pgx.algorithm.filter -
-
Uses of PgxVertex in oracle.pgx.algorithm
Fields in oracle.pgx.algorithm declared as PgxVertex Modifier and Type Field Description static PgxVertexPgxVertex. NONEA value indicating the absence of a vertex.Methods in oracle.pgx.algorithm that return PgxVertex Modifier and Type Method Description PgxVertexEdgeSequence. back()Get the edge at the back of the sequence.PgxVertexVertexSequence. back()Get the vertex at the back of the sequence.PgxVertexPgxEdge. destinationVertex()Get the target vertex of this edge.PgxVertexVertexSequence. front()Get the vertex at the front of the sequence.PgxVertexPgxVertex. getRandomInNeighbor()Return a random incoming neighbor.PgxVertexPgxVertex. getRandomInOutNeighbor()Return a random incoming or outgoing neighbor.PgxVertexPgxVertex. getRandomOutNeighbor()Return a random outgoing neighbor.PgxVertexPgxGraph. getRandomVertex()Get a random vertex from the graph.PgxVertexPgxVertex. parentVertex()Returns the vertex that was visited before this vertex.PgxVertexVertexSequence. pop()Remove and return a vertex from the sequence.PgxVertexVertexSequence. popBack()Remove and return the vertex at the back of the sequence.PgxVertexVertexSequence. popFront()Remove and return the vertex at the front of the sequence.PgxVertexPgxEdge. sourceVertex()Get the source vertex of this edge.Methods in oracle.pgx.algorithm with parameters of type PgxVertex Modifier and Type Method Description voidVertexSet. add(PgxVertex v)Add the vertex to the set.<T> ReductionReduction. andUpdate(PgxVertex vertex, VertexProperty<T> property, T value)If the reduction in the Reduction applies, also update the property the property specified here.booleanVertexSequence. contains(PgxVertex v)Check if the sequence contains the given vertex.booleanVertexSet. contains(PgxVertex v)Check if the set contains the given vertex.voidVertexProperty. decrement(PgxVertex vertex)Decrement the property of the given vertex.TVertexProperty. get(PgxVertex vertex)Get the property for the given vertex.booleanPgxVertex. greaterThan(PgxVertex v)Check whether this vertex is greater than the given vertex according to the ordering induced on the vertices.booleanPgxVertex. hasEdgeFrom(PgxVertex v)Check if there is an edge from the given vertex to this vertex.booleanPgxVertex. hasEdgeTo(PgxVertex v)Check if there is an edge from this vertex to the given vertex.static TraversalTraversal. inBFS(PgxGraph graph, PgxVertex root)Create a BFS traversal in the given graph rooted at the given vertex.voidVertexProperty. increment(PgxVertex vertex)Increment the property of the given vertex.static TraversalTraversal. inDFS(PgxGraph graph, PgxVertex root)Create a DFS traversal in the given graph rooted at the given vertex.booleanPgxVertex. lessThan(PgxVertex v)Check whether this vertex is less than the given vertex according to the ordering induced on the vertices.voidVertexSequence. push(PgxVertex v)Add a vertex to the sequence.voidVertexSequence. pushBack(PgxVertex v)Add a vertex to the back of the sequence.voidVertexSequence. pushFront(PgxVertex v)Add a vertex to the front of the sequence.voidVertexProperty. reduceAdd(PgxVertex vertex, T value)Atomically update the vertex's property to the sum of the current value and the given value.voidVertexProperty. reduceAnd(PgxVertex vertex, T value)Atomically update the vertex's property to the conjunction of the current value and the given value.voidVertexProperty. reduceMax(PgxVertex vertex, T value)Atomically update the given vertex's property to the maximum of the current value and the given value.voidVertexProperty. reduceMin(PgxVertex vertex, T value)Atomically update the given vertex's property to the minimum of the current value and the given value.voidVertexProperty. reduceMul(PgxVertex vertex, T value)Atomically update the vertex's property to the multiplication of the current value and the given value.voidVertexProperty. reduceOr(PgxVertex vertex, T value)Atomically update the vertex's property to the disjunction of the current value and the given value.voidVertexSet. remove(PgxVertex v)Remove the vertex from the set.voidVertexProperty. set(PgxVertex vertex, T value)Set the value of the vertex property for the given vertex.voidVertexProperty. setDeferred(PgxVertex vertex, T value)Set the vertex property to the given value, but only after the current parallel region finishes.static <T> ReductionReduction. updateMaxValue(PgxVertex vertex, VertexProperty<T> property, T value)Create an atomic reduction of a vertex property.static <T> ReductionReduction. updateMinValue(PgxVertex vertex, VertexProperty<T> property, T value)Create an atomic reduction of a vertex property.Method parameters in oracle.pgx.algorithm with type arguments of type PgxVertex Modifier and Type Method Description booleanVertexSet. allMatch(java.util.function.Predicate<PgxVertex> predicate)Check if the predicate holds for all vertices in the set.booleanVertexSet. anyMatch(java.util.function.Predicate<PgxVertex> predicate)Check if the predicate holds for any vertex in the set.<T extends java.lang.Number>
TVertexSet. avg(java.util.function.Function<PgxVertex,T> reducer)Apply the reducer to each vertex in the set and compute the average.TraversalTraversal. backward(java.util.function.Consumer<PgxVertex> backward)Visit the vertex in the backward direction of the traversal.TraversalTraversal. backwardFilter(java.util.function.Predicate<PgxVertex> filter)Filter the vertices in the BFS/DFS traversal when going backward.TraversalTraversal. filter(java.util.function.Predicate<PgxVertex> filter)Filter the vertices in the BFS/DFS traversal.VertexSetVertexSequence. filter(java.util.function.Predicate<PgxVertex> predicate)Filter the vertices in the sequence by the given predicate.VertexSetVertexSet. filter(java.util.function.Predicate<PgxVertex> predicate)Filter the vertices in the set by the given predicate.voidVertexSequence. forEach(java.util.function.Consumer<PgxVertex> callable)Run the callable for each vertex in the sequence in parallel.voidVertexSet. forEach(java.util.function.Consumer<PgxVertex> callable)Run the callable for each vertex in the set in parallel.voidVertexSequence. forSequential(java.util.function.Consumer<PgxVertex> callable)Run the callable for each vertex in the sequence in sequence.voidVertexSet. forSequential(java.util.function.Consumer<PgxVertex> callable)Run the callable for each vertex in the set in sequence.TraversalTraversal. forward(java.util.function.Consumer<PgxVertex> forward)Visit the vertex in the forward direction of the BFS traversal.<T extends java.lang.Number>
TVertexSet. max(java.util.function.Function<PgxVertex,T> reducer)Apply the reducer to each vertex in the set and compute the maximum.TraversalTraversal. navigator(java.util.function.Predicate<PgxVertex> navigator)If the navigator is false, do not consider the neighbors of this vertex in the traversal.VertexSetVertexSet. 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.voidVertexProperty. setAll(java.util.function.Function<PgxVertex,T> transform)Set the vertex property for each vertex to the value based on the transformation function.<T extends java.lang.Number>
TVertexSet. sum(java.util.function.Function<PgxVertex,T> reducer)Apply the reducer to each vertex in the set and sum the results. -
Uses of PgxVertex in oracle.pgx.algorithm.filter
Methods in oracle.pgx.algorithm.filter with parameters of type PgxVertex Modifier and Type Method Description booleanVertexFilter. evaluate(PgxVertex v)
-