Add deleted java doc back in
@@ -26,6 +26,11 @@ public abstract class Vertex<T> implements Observable<T> {
this.observation = Observable.observableTypeFor(this.getClass());
}
+ /**
+ * Set a label for this vertex. This allows easy retrieval of this vertex using nothing but a label name.
+ * @param label The label to apply to this vertex. Uniqueness is only enforced on instantiation of a Bayes Net
+ * @return this
+ */
public <V extends Vertex<T>> V setLabel(VertexLabel label) {
this.label = label;
return (V) this;
