public class PeakLink
extends java.lang.Object
Constructor and Description |
---|
PeakLink(long fromID,
long toID,
double distanceSq,
int t,
int tDifference) |
PeakLink(Peak from,
Peak to,
double distanceSq,
int t,
int tDifference) |
Modifier and Type | Method and Description |
---|---|
Peak |
getFrom() |
long |
getFromID() |
double |
getSquaredDistance() |
int |
getT() |
int |
getTDifference() |
Peak |
getTo() |
long |
getToID() |
void |
reset(long fromID,
long toID,
double distanceSq,
int t,
int tDifference) |
void |
reset(Peak from,
Peak to,
double distanceSq,
int t,
int tDifference) |
void |
setSquaredDistance(double distanceSq) |
void |
setT(int t) |
void |
setTDifference(int tDifference) |
public PeakLink(long fromID, long toID, double distanceSq, int t, int tDifference)
public void reset(long fromID, long toID, double distanceSq, int t, int tDifference)
public double getSquaredDistance()
public void setSquaredDistance(double distanceSq)
public void setT(int t)
public int getT()
public void setTDifference(int tDifference)
public int getTDifference()
public Peak getFrom()
public long getFromID()
public Peak getTo()
public long getToID()