public class InMemoryPairwisePathResultIO extends java.lang.Object implements PairwisePathResultIO
Constructor and Description |
---|
InMemoryPairwisePathResultIO(int numStartPoints, int numEndPoints) |
Modifier and Type | Method and Description |
---|---|
double |
readSubPathCost(int startPointIndex, int endPointIndex) |
void |
resetPairwisePathResultIO() |
void |
writeSubPathCosts(int[] startPointIndexes, int[] endPointIndexes, double[] costs) |
public InMemoryPairwisePathResultIO(int numStartPoints, int numEndPoints)
public void resetPairwisePathResultIO()
resetPairwisePathResultIO
in interface PairwisePathResultIO
public void writeSubPathCosts(int[] startPointIndexes, int[] endPointIndexes, double[] costs)
writeSubPathCosts
in interface PairwisePathResultIO
public double readSubPathCost(int startPointIndex, int endPointIndex)
readSubPathCost
in interface PairwisePathResultIO