Package org.movsim.simulator.vehicles.longitudinalmodel.acceleration

Examples of org.movsim.simulator.vehicles.longitudinalmodel.acceleration.LongitudinalModelBase


    }

    // set route explicitely, e.g. in microscopic initial or boundary conditions
    public Vehicle create(VehicleType vehicleType, @Nullable Route route) {
        VehiclePrototype prototype = getPrototype(vehicleType.getVehiclePrototypeLabel());
        LongitudinalModelBase accelerationModel = prototype.createAccelerationModel();
        accelerationModel.setRelativeRandomizationV0(vehicleType.getRelativeV0Randomization(),
                vehicleType.getV0DistributionType());
        LaneChangeModel laneChangeModel = prototype.createLaneChangeModel();

        Vehicle vehicle = new Vehicle(prototype.getLabel(), accelerationModel, prototype.getConfiguration(),
                laneChangeModel);
View Full Code Here

TOP

Related Classes of org.movsim.simulator.vehicles.longitudinalmodel.acceleration.LongitudinalModelBase

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.