V - the type of the nodespublic class Arborescence<V> extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(DirectedEdge<V> e) |
static <T> Arborescence<T> |
empty() |
boolean |
equals(Object other) |
com.google.common.collect.ImmutableMap<V,V> |
getParents() |
V |
getRoot() |
int |
hashCode() |
static <T> Arborescence<T> |
of(com.google.common.collect.ImmutableMap<T,T> parents) |
int |
size() |
String |
toString() |
public static <T> Arborescence<T> of(com.google.common.collect.ImmutableMap<T,T> parents)
public static <T> Arborescence<T> empty()
public boolean contains(DirectedEdge<V> e)
public V getRoot()
public int size()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.