Package | Description |
---|---|
com.gpudb | |
com.gpudb.protocol |
Modifier and Type | Method and Description |
---|---|
CreateGraphResponse |
GPUdb.createGraph(CreateGraphRequest request)
Creates a new graph network using given nodes, edges, weights, and
restrictions.
|
Modifier and Type | Method and Description |
---|---|
CreateGraphRequest |
CreateGraphRequest.setDirectedGraph(boolean directedGraph)
If set to
TRUE , the graph will be directed. |
CreateGraphRequest |
CreateGraphRequest.setEdges(List<String> edges)
Edges represent the required fundamental topological unit of a graph
that typically connect nodes.
|
CreateGraphRequest |
CreateGraphRequest.setGraphName(String graphName)
Name of the graph resource to generate.
|
CreateGraphRequest |
CreateGraphRequest.setNodes(List<String> nodes)
Nodes represent fundamental topological units of a graph.
|
CreateGraphRequest |
CreateGraphRequest.setOptions(Map<String,String> options)
Optional parameters.
|
CreateGraphRequest |
CreateGraphRequest.setRestrictions(List<String> restrictions)
Restrictions represent a method of informing the graph solver which
edges and/or nodes should be ignored for the solution.
|
CreateGraphRequest |
CreateGraphRequest.setWeights(List<String> weights)
Weights represent a method of informing the graph solver of the cost of
including a given edge in a solution.
|
Copyright © 2025. All rights reserved.