public class Sample extends Object
Constructor and Description |
---|
Sample(Vertex v0,
int d0,
Vertex v1,
int d1) |
Modifier and Type | Method and Description |
---|---|
long |
eval(ShortestPathTree spt) |
long |
eval(TimeSurface surf) |
byte |
evalBoardings(ShortestPathTree spt) |
double |
evalWalkDistance(ShortestPathTree spt) |
String |
toString() |
public final int d0
public final int d1
public final Vertex v0
public final Vertex v1
public byte evalBoardings(ShortestPathTree spt)
public long eval(ShortestPathTree spt)
spt
- the ShortestPathTree with respect to which this sample will be evaluatedpublic double evalWalkDistance(ShortestPathTree spt)
public long eval(TimeSurface surf)
Copyright © 2018. All rights reserved.