Class N201ODfactory

    • Constructor Detail

      • N201ODfactory

        public N201ODfactory()
    • Method Detail

      • get

        public static ODMatrix get​(Network network)
        Creates origin-destination matrix.
        Parameters:
        network - network
        Returns:
        origin-destination matrix
      • makeGeneratorsFromOD

        public static void makeGeneratorsFromOD​(OTSRoadNetwork network,
                                                ODMatrix matrix,
                                                OTSSimulatorInterface simulator)
        Makes generators at origin nodes of the OD.
        Parameters:
        network - network
        matrix - origin-destination matrix
        simulator - simulator
      • getQuery

        public static Query getQuery​(OTSRoadNetwork network,
                                     Sampler sampling,
                                     FilterDataSet metaDataSet)
        Parameters:
        network - network
        sampling - sampling
        metaDataSet - meta data set
        Returns:
        query covering the entire N201