/dports/games/powder-toy/The-Powder-Toy-95.0/src/simulation/elements/ |
H A D | EMP.cpp | 69 p.temp = restrict_flt(p.temp+getDelta(RNG::Ref().uniform01()), MIN_TEMP, MAX_TEMP); in apply() 121 if (RNG::Ref().uniform01() < prob_changeCenter) in Element_EMP_Trigger() 146 if (RNG::Ref().uniform01() < prob_breakMETL) in Element_EMP_Trigger() 149 if (RNG::Ref().uniform01() < prob_breakMETLMore) in Element_EMP_Trigger() 158 if (RNG::Ref().uniform01() < prob_breakBMTL) in Element_EMP_Trigger() 165 if (RNG::Ref().uniform01() < prob_randWIFI) in Element_EMP_Trigger() 170 if (RNG::Ref().uniform01() < prob_breakWIFI) in Element_EMP_Trigger() 183 if (RNG::Ref().uniform01() < prob_breakSWCH) in Element_EMP_Trigger() 188 if (RNG::Ref().uniform01() < prob_breakARAY) in Element_EMP_Trigger() 195 if (RNG::Ref().uniform01() < prob_randDLAY) in Element_EMP_Trigger()
|
H A D | SING.cpp | 98 angle = RNG::Ref().uniform01()*2.0f*M_PI; in update() 99 v = RNG::Ref().uniform01()*5.0f; in update()
|
/dports/math/fcl/fcl-0.7.0/include/fcl/math/ |
H A D | rng-inl.h | 59 S RNG<S>::uniform01() in uniform01() function 161 auto a = uniform01(); in disk() 162 auto b = uniform01(); in disk() 174 auto a = uniform01(); in ball() 175 auto b = uniform01(); in ball() 176 auto c = uniform01(); in ball()
|
H A D | rng.h | 65 S uniform01();
|
/dports/math/fcl05/fcl-0.5.0/src/math/ |
H A D | sampling.cpp | 116 double a = uniform01(); in disk() 117 double b = uniform01(); in disk() 126 double a = uniform01(); in ball() 127 double b = uniform01(); in ball() 128 double c = uniform01(); in ball()
|
/dports/math/fricas/fricas-1.3.7/src/algebra/ |
H A D | random.spad | 193 uniform01 : () -> Float 194 ++ uniform01() \undocumented 225 uniform01() == 228 a + uniform01()*(b-a) 234 while u = 0 repeat u := uniform01() 243 v1 := 2 * uniform01() - 1 244 v2 := 2 * uniform01() - 1
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/geometric/planners/est/src/ |
H A D | EST.cpp | 135 Motion *existing = pdf_.sample(rng_.uniform01()); in solve() 139 if ((goal_s != nullptr) && rng_.uniform01() < goalBias_ && goal_s->canSample()) in solve() 161 if (rng_.uniform01() < p) in solve()
|
H A D | ProjEST.cpp | 127 if ((goal_s != nullptr) && rng_.uniform01() < goalBias_ && goal_s->canSample()) in solve() 193 GridCell *cell = pdf_.sample(rng_.uniform01()); in selectMotion()
|
H A D | BiEST.cpp | 193 Motion *existing = pdf.sample(rng_.uniform01()); in solve() 208 if (rng_.uniform01() < p) in solve()
|
/dports/games/powder-toy/The-Powder-Toy-95.0/src/common/ |
H A D | tpt-rand.h | 17 float uniform01();
|
H A D | tpt-rand.cpp | 48 float RNG::uniform01() in uniform01() function in RNG
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/control/planners/ltl/src/ |
H A D | LTLPlanner.cpp | 219 if (rng_.uniform01() < 0.5) in buildAvail() 232 ProductGraph::State *as = availDist_.sample(rng_.uniform01()); in explore() 237 Motion *v = motions.sample(rng_.uniform01()); in explore()
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/control/planners/syclop/src/ |
H A D | Syclop.cpp | 193 if (!improved && rng_.uniform01() < probAbandonLeadEarly_) in solve() 381 const int index = availDist_.sample(rng_.uniform01()); in selectRegion() 399 if (rng_.uniform01() >= probKeepAddingToAvail_) in computeAvailableRegions() 414 if (rng_.uniform01() < probShortestPath_) in defaultComputeLead()
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/control/planners/kpiece/src/ |
H A D | KPIECE1.cpp | 225 if (closeSamples.canSample() && rng_.uniform01() < goalBias_) in solve() 262 if (interestingMotion || rng_.uniform01() < 0.05) in solve() 354 …scell = rng_.uniform01() < std::max(selectBorderFraction_, tree_.grid.fracExternal()) ? tree_.grid… in selectMotion()
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/control/planners/est/src/ |
H A D | EST.cpp | 136 if (goal_s && rng_.uniform01() < goalBias_ && goal_s->canSample()) in solve() 221 GridCell *cell = pdf_.sample(rng_.uniform01()); in selectMotion()
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/base/spaces/constraint/src/ |
H A D | AtlasStateSpace.cpp | 76 ru *= atlas_->getRho_s() * std::pow(rng_.uniform01(), 1.0 / k) / ru.norm(); in sampleUniform() 127 uoffset *= dist * std::pow(rng_.uniform01(), 1.0 / k) / uoffset.norm(); in sampleUniformNear() 315 return chartPDF_.sample(rng_.uniform01()); in sampleChart()
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/util/ |
H A D | RandomNumbers.h | 67 double uniform01() in uniform01() function
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/geometric/planners/xxl/src/ |
H A D | XXL.cpp | 570 if (rng_.uniform01() < p) in sampleAlongLead() 702 …(toRegion.motionsInTree.size() > 0 && rng_.uniform01() < 0.50)) // use an existing state 50% of t… in expandToRegion() 828 if (rng_.uniform01() < p) // improve existing connections in feasibleLead() 834 if (rng_.uniform01() < 0.05) // small chance to brute force connect along lead in feasibleLead() 873 if (!regionsConnected || rng_.uniform01() < p) in connectLead() 1278 if (rng_.uniform01() > rand_walk_rate_) in computeLead() 1294 if (layer->hasSublayers() && layer->connectibleRegions() > 0 && rng_.uniform01() < p) in searchForPath() 1607 if (rng_.uniform01() < 0.50) in shortestPath() 1609 if (rng_.uniform01() < 0.50) in shortestPath()
|
/dports/misc/openvdb/openvdb-9.0.0/openvdb_houdini/openvdb_houdini/ |
H A D | SOP_OpenVDB_Fracture.cc | 458 std::uniform_real_distribution<float> uniform01; in process() local 472 const float u = uniform01(rng); in process() 475 const float s1 = two_pi * uniform01(rng); in process() 476 const float s2 = two_pi * uniform01(rng); in process()
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/base/samplers/informed/src/ |
H A D | PathLengthDirectInfSampler.cpp | 585 double randDbl = rng_.uniform01(); in randomPhsPtr() 626 double randDbl = rng_.uniform01(); in keepSample()
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/geometric/planners/pdst/src/ |
H A D | PDST.cpp | 174 …si_->getStateSpace()->interpolate(motion->startState_, motion->endState_, rng_.uniform01(), start); in propagateFrom() 176 if ((goalSampler_ != nullptr) && rng_.uniform01() < goalBias_ && goalSampler_->canSample()) in propagateFrom()
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/geometric/planners/quotientspace/algorithms/src/ |
H A D | QRRTImpl.cpp | 121 double s = rng_.uniform01(); in grow()
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/geometric/planners/sst/src/ |
H A D | SST.cpp | 259 bool attemptToReachGoal = (goal_s && rng_.uniform01() < goalBias_ && goal_s->canSample()); in solve() 271 attemptToReachGoal = rng_.uniform01() < .5; in solve()
|
/dports/misc/ompl/ompl-1.5.2/tests/datastructures/ |
H A D | pdf.cpp | 175 sampleMean += p.sample(rand.uniform01()); in BOOST_AUTO_TEST_CASE()
|
/dports/math/ceres-solver/ceres-solver-2.0.0/internal/ceres/autodiff_benchmarks/ |
H A D | autodiff_benchmarks.cc | 318 std::uniform_real_distribution<double> uniform01(0.0, 1.0); in BM_PhotometricAutoDiff() local 330 [&]() { return uniform01(gen); }); in BM_PhotometricAutoDiff()
|