Package oracle.pgx.algorithm
Interface PgxGraph
- 
 public interface PgxGraphA PGX graph.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description EdgeSetgetEdges()Return a (lazy) set of edges that can be iterated over.longgetNumEdges()Get the number of edges in the graph.longgetNumVertices()Get the number of vertices in the graph.PgxVertexgetRandomVertex()Get a random vertex from the graph.VertexSetgetVertices()Return a (lazy) set of vertices that can be iterated over.
 
- 
- 
- 
Method Detail- 
getVerticesVertexSet getVertices() Return a (lazy) set of vertices that can be iterated over.- Returns:
 
 - 
getEdgesEdgeSet getEdges() Return a (lazy) set of edges that can be iterated over.- Returns:
 
 - 
getNumVerticeslong getNumVertices() Get the number of vertices in the graph.- Returns:
 
 - 
getNumEdgeslong getNumEdges() Get the number of edges in the graph.- Returns:
 
 - 
getRandomVertexPgxVertex getRandomVertex() Get a random vertex from the graph.- Returns:
 
 
- 
 
-