void init(int from, double fromWeight, int to, double toWeight) { initFrom(from, fromWeight); initTo(to, toWeight); postInit(from, to); }
void init(int from, double fromWeight, int to, double toWeight) { initFrom(from, fromWeight); initTo(to, toWeight); postInit(from, to); }
@Override public Path calcPath( int from, int to ) { checkAlreadyRun(); createAndInitPath(); initFrom(from, 0); initTo(to, 0); runAlgo(); return extractPath(); }
@Override public Path calcPath(int from, int to) { checkAlreadyRun(); createAndInitPath(); initFrom(from, 0); initTo(to, 0); runAlgo(); return extractPath(); }