V - the type of the nodes storedpublic abstract class WeightedGraph<V> extends Object
| Constructor and Description |
|---|
WeightedGraph() |
| Modifier and Type | Method and Description |
|---|---|
WeightedGraph<V> |
filterEdges(com.google.common.base.Predicate<DirectedEdge<V>> predicate) |
abstract Collection<Weighted<DirectedEdge<V>>> |
getIncomingEdges(V destinationNode) |
abstract Collection<V> |
getNodes() |
abstract double |
getWeightOf(V source,
V dest) |
public abstract Collection<V> getNodes()
public abstract Collection<Weighted<DirectedEdge<V>>> getIncomingEdges(V destinationNode)
public WeightedGraph<V> filterEdges(com.google.common.base.Predicate<DirectedEdge<V>> predicate)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.