| Package | Description |
|---|---|
| ai.grakn.graql.internal.gremlin.fragment | |
| ai.grakn.graql.internal.gremlin.spanningtree | |
| ai.grakn.graql.internal.gremlin.spanningtree.graph |
| Modifier and Type | Method and Description |
|---|---|
Set<Weighted<DirectedEdge<Node>>> |
Fragment.getDirectedEdges(Map<NodeId,Node> nodes,
Map<Node,Map<Node,Fragment>> edgeToFragment)
Convert the fragment to a set of weighted edges for query planning
|
| Modifier and Type | Field and Description |
|---|---|
DirectedEdge<V> |
ExclusiveEdge.edge |
| Modifier and Type | Field and Description |
|---|---|
List<DirectedEdge<V>> |
ExclusiveEdge.excluded |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Arborescence.contains(DirectedEdge<V> e) |
static <T> ExclusiveEdge<T> |
ExclusiveEdge.of(DirectedEdge<T> edge,
double weight) |
static <T> ExclusiveEdge<T> |
ExclusiveEdge.of(DirectedEdge<T> edge,
List<DirectedEdge<T>> excluded,
double weight) |
| Modifier and Type | Method and Description |
|---|---|
static <T> ExclusiveEdge<T> |
ExclusiveEdge.of(DirectedEdge<T> edge,
List<DirectedEdge<T>> excluded,
double weight) |
| Modifier and Type | Method and Description |
|---|---|
DirectedEdge<V> |
DirectedEdge.EdgeBuilder.to(V destination) |
| Modifier and Type | Method and Description |
|---|---|
static <T> com.google.common.base.Predicate<DirectedEdge<T>> |
DirectedEdge.competesWith(Set<DirectedEdge<T>> required) |
abstract Collection<Weighted<DirectedEdge<V>>> |
WeightedGraph.getIncomingEdges(V destinationNode) |
Collection<Weighted<DirectedEdge<V>>> |
SparseWeightedGraph.getIncomingEdges(V destinationNode) |
Collection<Weighted<DirectedEdge<V>>> |
DenseWeightedGraph.getIncomingEdges(V destinationNode) |
static <T> com.google.common.base.Predicate<DirectedEdge<T>> |
DirectedEdge.hasDestination(T node) |
static <T> com.google.common.base.Predicate<DirectedEdge<T>> |
DirectedEdge.isAutoCycle() |
static <T> com.google.common.base.Predicate<DirectedEdge<T>> |
DirectedEdge.isIn(Set<DirectedEdge<T>> banned) |
| Modifier and Type | Method and Description |
|---|---|
static <T> com.google.common.base.Predicate<DirectedEdge<T>> |
DirectedEdge.competesWith(Set<DirectedEdge<T>> required) |
WeightedGraph<V> |
WeightedGraph.filterEdges(com.google.common.base.Predicate<DirectedEdge<V>> predicate) |
static <T> SparseWeightedGraph<T> |
SparseWeightedGraph.from(Iterable<T> nodes,
Iterable<Weighted<DirectedEdge<T>>> edges) |
static <T> SparseWeightedGraph<T> |
SparseWeightedGraph.from(Iterable<Weighted<DirectedEdge<T>>> edges) |
static <T> com.google.common.base.Predicate<DirectedEdge<T>> |
DirectedEdge.isIn(Set<DirectedEdge<T>> banned) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.