Package org.movsim.autogen

Examples of org.movsim.autogen.OptimalVelocityFunctionEnum


        double vOptimal = 0;// optimal velocity

        final double s0 = getMinimumGap();

        OptimalVelocityFunctionEnum variant = param.getOptimalSpeedFunction();

        if (variant == OptimalVelocityFunctionEnum.BANDO) {
            // standard OVM function (Bando model)
            // scale OVM/VDIFF so that v0 represents actual desired speed
            final double v0Prev = v0Local / (1.0 + Math.tanh(betaLoc));
View Full Code Here

TOP

Related Classes of org.movsim.autogen.OptimalVelocityFunctionEnum

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.