public RaptorState(int nStops){
  this.bestTimes=new int[nStops];
  this.bestNonTransferTimes=new int[nStops];
  Arrays.fill(bestTimes,RaptorWorker.UNREACHED);
  Arrays.fill(bestNonTransferTimes,RaptorWorker.UNREACHED);
  this.previousPatterns=new int[nStops];
  this.previousStop=new int[nStops];
  this.transferStop=new int[nStops];
  Arrays.fill(previousPatterns,-1);
  Arrays.fill(previousStop,-1);
  Arrays.fill(transferStop,-1);
  this.inVehicleTravelTime=new int[nStops];
  this.waitTime=new int[nStops];
  this.nonTransferWaitTime=new int[nStops];
  this.nonTransferInVehicleTravelTime=new int[nStops];
}

public RaptorState ( int nStops ) { this . bestTimes = new int [ nStops ] ; this . bestNonTransferTimes = new int [ nStops ] ; Arrays . fill ( bestTimes , RaptorWorker . UNREACHED ) ; Arrays . fill ( bestNonTransferTimes , RaptorWorker . UNREACHED ) ; this . previousPatterns = new int [ nStops ] ; this . previousStop = new int [ nStops ] ; this . transferStop = new int [ nStops ] ; Arrays . fill ( previousPatterns , - 1 ) ; Arrays . fill ( previousStop , - 1 ) ; Arrays . fill ( transferStop , - 1 ) ; this . inVehicleTravelTime = new int [ nStops ] ; this . waitTime = new int [ nStops ] ; this . nonTransferWaitTime = new int [ nStops ] ; this . nonTransferInVehicleTravelTime = new int [ nStops ] ; }
create a raptorstate for a network with a particular number of stops
