public class Edge extends Object implements Comparable<Edge>
| Constructor and Description |
|---|
Edge(int v,
int w,
double weight) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Edge that) |
int |
either() |
double |
getWeight() |
int |
other(int x) |
public int either()
public int other(int x)
public double getWeight()
public int compareTo(Edge that)
compareTo in interface Comparable<Edge>Copyright © 2017. All rights reserved.