Home
last modified time | relevance | path

Searched refs:vsafe (Results 1 – 25 of 93) sorted by relevance

1234

/dports/cad/sumo/sumo-1.2.0/src/microsim/cfmodels/
H A DMSCFModel_KraussOrig1.cpp63 …return MIN2(vsafe(gap, predSpeed, predMaxDecel), maxNextSpeed(speed, veh)); // XXX: and why not ca… in followSpeed()
73 return MIN2(vsafe(gap, 0., 0.), maxNextSpeed(speed, veh)); in stopSpeed()
97 double MSCFModel_KraussOrig1::vsafe(double gap, double predSpeed, double /* predMaxDecel */) const { in vsafe() function in MSCFModel_KraussOrig1
104 double vsafe = (double)(-1. * myTauDecel in vsafe() local
110 assert(vsafe >= 0); in vsafe()
111 return vsafe; in vsafe()
H A DMSCFModel_SmartSK.cpp107 double vsafe = _vsafe(veh, gap, predSpeed); in followSpeed() local
108 if ((speed <= 0.0) && (vsafe < myS2Sspeed)) { in followSpeed()
109 vsafe = 0; in followSpeed()
112 double vNew = MAX2(getSpeedAfterMaxDecel(speed), MIN2(vsafe, maxNextSpeed(speed, veh))); in followSpeed()
155 double vsafe = (double)(-1. * bTau in _vsafe() local
161 assert(vsafe >= 0); in _vsafe()
162 return vsafe; in _vsafe()
H A DMSCFModel_PWag2009.cpp68 …const double vsafe = -myTauLastDecel + sqrt(myTauLastDecel * myTauLastDecel + predSpeed * predSpee… in followSpeed() local
69 const double asafe = SPEED2ACCEL(vsafe - speed); in followSpeed()
90 const double vsafe = -myTauDecel + sqrt(myTauDecel * myTauDecel + 2.0 * myDecel * gap); in stopSpeed() local
91 const double asafe = SPEED2ACCEL(vsafe - speed); in stopSpeed()
100 return MAX2(0., vsafe + ACCEL2SPEED(apref)); in stopSpeed()
H A DMSCFModel_Krauss.cpp88 const double vsafe = maximumSafeFollowSpeed(gap, speed, predSpeed, predMaxDecel); in followSpeed() local
93 return MIN2(vsafe, vmax); in followSpeed()
97 return MAX2(MIN2(vsafe, vmax), vmin); in followSpeed()
H A DMSCFModel_Daniel1.cpp93 double vsafe = (double)(-1. * myTauDecel in _vsafe() local
99 assert(vsafe >= 0); in _vsafe()
100 return vsafe; in _vsafe()
H A DMSCFModel_Kerner.cpp84 …double vsafe = (double)(-1. * myTauDecel + sqrt(myTauDecel * myTauDecel + (predSpeed * predSpeed) … in _v() local
86 double va = MAX2((double) 0, MIN3(vfree, vsafe, vcond)) + vars->rand; in _v()
88 double v = MAX2((double) 0, MIN4(vfree, va, speed + ACCEL2SPEED(myAccel), vsafe)); in _v()
H A DMSCFModel_Rail.cpp85 …const double vsafe = maximumSafeStopSpeed(gap - safetyGap, speed, false, TS); // absolute breaking… in followSpeed() local
90 return MIN2(vsafe, vmax); in followSpeed()
94 return MAX2(MIN2(vsafe, vmax), vmin); in followSpeed()
H A DMSCFModel_KraussOrig1.h138 virtual double vsafe(double gap, double predSpeed, double predMaxDecel) const;
H A DMSCFModel.cpp710 double vsafe;
712 vsafe = maximumSafeStopSpeedEuler(g, headway);
714 vsafe = maximumSafeStopSpeedBallistic(g, v, onInsertion, headway);
754 return vsafe;
/dports/biology/kallisto/kallisto-0.46.1/src/
H A DFusion.hpp282 std::vector<std::pair<KmerEntry,int>> vsafe, vsplit; in searchFusion() local
294 std::copy(v2.begin(), v2.end(), std::back_inserter(vsafe)); in searchFusion()
297 std::copy(v1.begin(), v1.end(), std::back_inserter(vsafe)); in searchFusion()
322 vsafe.push_back(x); in searchFusion()
325 auto ut2 = simpleIntersect(index,vsafe); in searchFusion()
331 st1 = s1.substr(0,vsafe.back().second); in searchFusion()
335 st2 = s2.substr(0,vsafe.back().second); in searchFusion()
352 o << vsafe.back().second << ")\t"; in searchFusion()
355 …printTranscripts(index, o, s1, vsplit, ut1); o << "\t"; printTranscripts(index, o, s2, vsafe, ut2); in searchFusion()
357 …printTranscripts(index, o, s1, vsafe, ut2); o << "\t"; printTranscripts(index, o, s2, vsplit, ut1); in searchFusion()
/dports/cad/sumo/sumo-1.2.0/src/microsim/lcmodels/
H A DMSLCM_LC2013.cpp735 double vsafe, vsafe1; in informFollower() local
744 assert(vsafe <= vsafe1); in informFollower()
780 vsafe = MIN2(nv->getSpeed(), MAX2(neighNewSpeed, in informFollower()
786 assert(vsafe >= vsafe1 - NUMERICAL_EPS); in informFollower()
792 << " vsafe=" << vsafe in informFollower()
803 vsafe = neighNewSpeed; in informFollower()
810 << " vsafe=" << vsafe << "\n"; in informFollower()
964 double vsafe, vsafe1; in informFollower() local
970 vsafe = nv->getCarFollowModel().followSpeed( in informFollower()
985 vsafe = nv->getCarFollowModel().followSpeed( in informFollower()
[all …]
H A DMSLCM_DK2008.cpp616 …double vsafe = myCarFollowModel.followSpeed(&myVehicle, myVehicle.getSpeed(), neighFollow.second, … in informBlocker() local
617 msgPass.informNeighFollower(new Info(vsafe, dir | LCA_AMBLOCKINGFOLLOWER), &myVehicle); in informBlocker()
619 …double vsafe = neighFollow.second <= 0 ? 0 : myCarFollowModel.followSpeed(&myVehicle, myVehicle.ge… in informBlocker() local
620 … msgPass.informNeighFollower(new Info(vsafe, dir | LCA_AMBLOCKINGFOLLOWER_DONTBRAKE), &myVehicle); in informBlocker()
/dports/lang/gcc9/gcc-9.4.0/gcc/d/dmd/
H A Descape.c41 if (global.params.vsafe && sc->func->setUnsafe()) in unsafeAssign()
452 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkThrowEscape()
572 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkReturnEscapeImpl()
624 if (global.params.vsafe) in checkReturnEscapeImpl()
975 if (global.params.vsafe && tf->isreturn && fd && (ad = fd->isThis()) != NULL) in escapeByValue()
H A Dglobals.h135 bool vsafe; // use enhanced @safe checking member
/dports/devel/avr-gcc/gcc-10.2.0/gcc/d/dmd/
H A Descape.c41 if (global.params.vsafe && sc->func->setUnsafe()) in unsafeAssign()
452 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkThrowEscape()
572 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkReturnEscapeImpl()
624 if (global.params.vsafe) in checkReturnEscapeImpl()
975 if (global.params.vsafe && tf->isreturn && fd && (ad = fd->isThis()) != NULL) in escapeByValue()
H A Dglobals.h135 bool vsafe; // use enhanced @safe checking member
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/d/dmd/
H A Descape.c41 if (global.params.vsafe && sc->func->setUnsafe()) in unsafeAssign()
452 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkThrowEscape()
572 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkReturnEscapeImpl()
624 if (global.params.vsafe) in checkReturnEscapeImpl()
975 if (global.params.vsafe && tf->isreturn && fd && (ad = fd->isThis()) != NULL) in escapeByValue()
/dports/lang/gcc11/gcc-11.2.0/gcc/d/dmd/
H A Descape.c41 if (global.params.vsafe && sc->func->setUnsafe()) in unsafeAssign()
452 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkThrowEscape()
572 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkReturnEscapeImpl()
624 if (global.params.vsafe) in checkReturnEscapeImpl()
975 if (global.params.vsafe && tf->isreturn && fd && (ad = fd->isThis()) != NULL) in escapeByValue()
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/d/dmd/
H A Descape.c41 if (global.params.vsafe && sc->func->setUnsafe()) in unsafeAssign()
452 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkThrowEscape()
572 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkReturnEscapeImpl()
624 if (global.params.vsafe) in checkReturnEscapeImpl()
975 if (global.params.vsafe && tf->isreturn && fd && (ad = fd->isThis()) != NULL) in escapeByValue()
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/d/dmd/
H A Descape.c41 if (global.params.vsafe && sc->func->setUnsafe()) in unsafeAssign()
452 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkThrowEscape()
572 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkReturnEscapeImpl()
624 if (global.params.vsafe) in checkReturnEscapeImpl()
975 if (global.params.vsafe && tf->isreturn && fd && (ad = fd->isThis()) != NULL) in escapeByValue()
H A Dglobals.h135 bool vsafe; // use enhanced @safe checking member
/dports/lang/gcc10/gcc-10.3.0/gcc/d/dmd/
H A Descape.c41 if (global.params.vsafe && sc->func->setUnsafe()) in unsafeAssign()
452 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkThrowEscape()
572 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkReturnEscapeImpl()
624 if (global.params.vsafe) in checkReturnEscapeImpl()
975 if (global.params.vsafe && tf->isreturn && fd && (ad = fd->isThis()) != NULL) in escapeByValue()
H A Dglobals.h135 bool vsafe; // use enhanced @safe checking member
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/d/dmd/
H A Descape.c41 if (global.params.vsafe && sc->func->setUnsafe()) in unsafeAssign()
452 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkThrowEscape()
572 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkReturnEscapeImpl()
624 if (global.params.vsafe) in checkReturnEscapeImpl()
975 if (global.params.vsafe && tf->isreturn && fd && (ad = fd->isThis()) != NULL) in escapeByValue()
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/d/dmd/
H A Descape.c41 if (global.params.vsafe && sc->func->setUnsafe()) in unsafeAssign()
452 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkThrowEscape()
572 if (global.params.vsafe) // https://issues.dlang.org/show_bug.cgi?id=17029 in checkReturnEscapeImpl()
624 if (global.params.vsafe) in checkReturnEscapeImpl()
975 if (global.params.vsafe && tf->isreturn && fd && (ad = fd->isThis()) != NULL) in escapeByValue()

1234