Package | Description |
---|---|
org.grouplens.grapht.graph |
Graph data structure exposed by Grapht.
|
Modifier and Type | Method and Description |
---|---|
DAGNodeBuilder<V,E> |
DAGNodeBuilder.addEdge(DAGNode<V,E> target,
E label)
Add an edge.
|
DAGNodeBuilder<V,E> |
DAGNodeBuilder.addEdge(org.apache.commons.lang3.tuple.Pair<DAGNode<V,E>,E> edge)
Add an edge.
|
static <V,E> DAGNodeBuilder<V,E> |
DAGNode.copyBuilder(DAGNode<V,E> node)
Create a new builder initialized to build a copy of the specified node.
|
static <V,E> DAGNodeBuilder<V,E> |
DAGNode.newBuilder()
Construct a new DAG node builder.
|
static <V,E> DAGNodeBuilder<V,E> |
DAGNode.newBuilder(V label)
Construct a new DAG node builder.
|
DAGNodeBuilder<V,E> |
DAGNodeBuilder.setLabel(V lbl)
Set the node's label.
|
Copyright © 2016 GroupLens Research. All rights reserved.