/dports/devel/boost-docs/boost_1_72_0/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType /* average */) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& /* weights */) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
H A D | piecewise_constant_distribution.hpp | 38 template<class RealType = double, class WeightType = double> 55 _weights.push_back(WeightType(1)); in param_type() 79 _weights.push_back(WeightType(1)); in param_type() 108 _weights.push_back(WeightType(1)); in param_type() 137 _weights.push_back(WeightType(1)); in param_type() 193 std::vector<WeightType> new_weights; in BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR() 217 std::vector<WeightType> _weights; 264 std::vector<WeightType> actual_weights; in piecewise_constant_distribution() 296 std::vector<WeightType> actual_weights; in piecewise_constant_distribution() 412 typedef discrete_distribution<std::size_t, WeightType> bins_type; in param() [all …]
|
/dports/devel/hyperscan/boost_1_75_0/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType /* average */) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& /* weights */) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType /* average */) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& /* weights */) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/devel/R-cran-BH/BH/inst/include/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType /* average */) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& /* weights */) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
H A D | piecewise_constant_distribution.hpp | 38 template<class RealType = double, class WeightType = double> 55 _weights.push_back(WeightType(1)); in param_type() 79 _weights.push_back(WeightType(1)); in param_type() 108 _weights.push_back(WeightType(1)); in param_type() 137 _weights.push_back(WeightType(1)); in param_type() 193 std::vector<WeightType> new_weights; in BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR() 217 std::vector<WeightType> _weights; 264 std::vector<WeightType> actual_weights; in piecewise_constant_distribution() 296 std::vector<WeightType> actual_weights; in piecewise_constant_distribution() 412 typedef discrete_distribution<std::size_t, WeightType> bins_type; in param() [all …]
|
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType /* average */) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& /* weights */) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
H A D | piecewise_constant_distribution.hpp | 38 template<class RealType = double, class WeightType = double> 55 _weights.push_back(WeightType(1)); in param_type() 79 _weights.push_back(WeightType(1)); in param_type() 108 _weights.push_back(WeightType(1)); in param_type() 137 _weights.push_back(WeightType(1)); in param_type() 193 std::vector<WeightType> new_weights; in BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR() 217 std::vector<WeightType> _weights; 264 std::vector<WeightType> actual_weights; in piecewise_constant_distribution() 296 std::vector<WeightType> actual_weights; in piecewise_constant_distribution() 412 typedef discrete_distribution<std::size_t, WeightType> bins_type; in param() [all …]
|
/dports/science/py-scipy/scipy-1.7.1/scipy/_lib/boost/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType /* average */) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& /* weights */) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/bundled/boost-1.70.0/include/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType /* average */) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& /* weights */) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/boost-for-react-native/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType average) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/devel/boost-libs/boost_1_72_0/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType /* average */) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& /* weights */) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/lib/stan_math/lib/boost_1.69.0/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType /* average */) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& /* weights */) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/graphics/povray37/povray-3.7.0.10/libraries/boost/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType average) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/boost-1.60.0/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType average) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType average) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/databases/percona57-server/boost_1_59_0/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType average) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/databases/xtrabackup/boost_1_59_0/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType average) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/databases/percona57-client/boost_1_59_0/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType average) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType average) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/databases/mysql57-client/mysql-5.7.36/boost/boost_1_59_0/boost/random/ |
H A D | discrete_distribution.hpp | 95 static WeightType normalize(WeightType val, WeightType average) in normalize() 109 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 111 WeightType result = static_cast<WeightType>(0); in try_get_sum() 124 static WeightType generate_in_range(URNG &urng, WeightType max) in generate_in_range() 131 WeightType _average; 139 return WeightType(1.0); in get_weight() 160 static WeightType normalize(WeightType val, WeightType average) in normalize() 166 WeightType sum = in normalize() 186 static WeightType try_get_sum(const std::vector<WeightType>& weights) in try_get_sum() 191 static WeightType generate_in_range(URNG &urng, WeightType) in generate_in_range() [all …]
|
/dports/games/frogatto/frogatto-1.3.1/MacOSJet/boost/include/boost/random/ |
H A D | discrete_distribution.hpp | 49 typedef WeightType input_type; 135 std::vector<WeightType> temp; in BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR() 158 WeightType sum = in normalize() 169 std::vector<WeightType> _probabilities; 239 std::vector<WeightType> weights; in discrete_distribution() 261 WeightType test = uniform_01<WeightType>()(urng); in operator ()() 278 WeightType val = uniform_01<WeightType>()(urng); in operator ()() 279 WeightType sum = 0; in operator ()() 314 const WeightType mean = in probabilities() 322 WeightType val = iter->first * mean; in probabilities() [all …]
|
/dports/graphics/vigra/vigra-8acd73a/include/vigra/ |
H A D | eccentricitytransform.hxx | 56 template <class Graph, class WeightType, 91 typedef float WeightType; in eccentricityCentersImpl() typedef 93 typename Graph::template EdgeMap<WeightType> weights(g); in eccentricityCentersImpl() 94 WeightType maxWeight = 0.0, in eccentricityCentersImpl() 100 MultiArray<N, WeightType> distances(src.shape()); in eccentricityCentersImpl() 113 WeightType weight = norm(u - v) * in eccentricityCentersImpl() 179 typedef float WeightType; in eccentricityCenters() typedef 182 ShortestPathDijkstra<Graph, WeightType> pathFinder(g); in eccentricityCenters() 245 typedef float WeightType; in eccentricityTransformOnLabels() typedef 251 ShortestPathDijkstra<Graph, WeightType> pathFinder(g); in eccentricityTransformOnLabels() [all …]
|
H A D | graph_algorithms.hxx | 306 typedef WEIGHT_TYPE WeightType; typedef in vigra::ShortestPathDijkstra 336 WeightType maxDistance=NumericTraits<WeightType>::max()) in run() 359 WeightType maxDistance=NumericTraits<WeightType>::max()) in run() 379 WeightType maxDistance=NumericTraits<WeightType>::max()) in reRun() 393 WeightType maxDistance=NumericTraits<WeightType>::max()) in runMultiSource() 412 WeightType maxDistance = NumericTraits<WeightType>::max()) in runMultiSource() 462 WeightType maxDistance=NumericTraits<WeightType>::max()) in runImpl() 474 WeightType maxDistance=NumericTraits<WeightType>::max()) in runImplWithNodeWeights() 705 typedef WEIGHT_TYPE WeightType; in shortestPathSegmentation() typedef 969 … const WeightType tauRu = static_cast<WeightType>(k)/static_cast<WeightType>(sizeRu); in felzenszwalbSegmentation() [all …]
|
/dports/math/SCIP/scip-7.0.3/applications/PolySCIP/src/ |
H A D | weight_space_vertex.h | 63 WeightType weight, 88 WeightType getWeight() const; 142 bool hasSameWeight(const WeightType& weight) const; 169 static const WeightType calculateWeightCombination(double h, 170 const WeightType& weight1, 171 const WeightType& weight2); 176 WeightType weight_; ///< Corresponding weight vector of vertex
|