VERTEX
- public class SimpleWeightedEdge<VERTEX> extends SimpleEdge<VERTEX>
Modifier and Type | Field and Description |
---|---|
static Comparator<SimpleWeightedEdge<?>> |
ASCENDING_COMPARATOR
Comparator for sorting edges in ascending order |
static Comparator<SimpleWeightedEdge<?>> |
DESCENDING_COMPARATOR
Comparator for sorting edges in descending order |
float |
weight
The edge weight
|
from, to
Constructor and Description |
---|
SimpleWeightedEdge() |
public static final Comparator<SimpleWeightedEdge<?>> ASCENDING_COMPARATOR
Comparator
for sorting edges in ascending orderpublic static final Comparator<SimpleWeightedEdge<?>> DESCENDING_COMPARATOR
Comparator
for sorting edges in descending orderpublic float weight
public SimpleWeightedEdge()