V
- the vertex type; often Coord
public abstract class Edge<V>
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Edge() |
Modifier and Type | Method and Description |
---|---|
abstract V |
getA() |
abstract V |
getB() |
protected abstract Node<V> |
getInternalNodeA() |
protected abstract Node<V> |
getInternalNodeB() |
abstract float |
getWeight() |
protected abstract void |
set(Node<V> a,
Node<V> b,
float weight) |
abstract void |
setWeight(float weight) |
Copyright © Eben Howard 2012–2022. All rights reserved.