Home
last modified time | relevance | path

Searched refs:minWeight (Results 1 – 25 of 377) sorted by relevance

12345678910>>...16

/dports/java/jgraphx/jgraphx-4.2.2/src/com/mxgraph/generatorfunction/
H A DmxGeneratorRandomIntFunction.java14 private double minWeight = 0; field in mxGeneratorRandomIntFunction
16 public mxGeneratorRandomIntFunction(double minWeight, double maxWeight) in mxGeneratorRandomIntFunction() argument
18 setWeightRange(minWeight, maxWeight); in mxGeneratorRandomIntFunction()
27 if (minWeight == maxWeight) in getCost()
29 return minWeight; in getCost()
32 double currValue = minWeight + Math.round((Math.random() * (maxWeight - minWeight))); in getCost()
41 public void setWeightRange(double minWeight, double maxWeight) in setWeightRange() argument
43 this.maxWeight = Math.round(Math.max(minWeight, maxWeight)); in setWeightRange()
44 this.minWeight = Math.round(Math.min(minWeight, maxWeight)); in setWeightRange()
49 return minWeight; in getMinWeight()
H A DmxGeneratorRandomFunction.java14 private double minWeight = 0; field in mxGeneratorRandomFunction
18 public mxGeneratorRandomFunction(double minWeight, double maxWeight, int roundToDecimals) in mxGeneratorRandomFunction() argument
20 setWeightRange(minWeight, maxWeight); in mxGeneratorRandomFunction()
28 edgeWeight = Math.random() * (maxWeight - minWeight) + minWeight; in getCost()
39 public void setWeightRange(double minWeight, double maxWeight) in setWeightRange() argument
41 this.maxWeight = Math.max(minWeight, maxWeight); in setWeightRange()
42 this.minWeight = Math.min(minWeight, maxWeight); in setWeightRange()
47 return minWeight; in getMinWeight()
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/include/opencv2/imgproc/detail/
H A Dgcgraph.hpp193 TWeight minWeight, weight; in maxFlow() local
248 minWeight = edgePtr[e0].weight; in maxFlow()
249 CV_Assert( minWeight > 0 ); in maxFlow()
258 minWeight = MIN(minWeight, weight); in maxFlow()
259 CV_Assert( minWeight > 0 ); in maxFlow()
262 minWeight = MIN(minWeight, weight); in maxFlow()
263 CV_Assert( minWeight > 0 ); in maxFlow()
267 edgePtr[e0].weight -= minWeight; in maxFlow()
268 edgePtr[e0^1].weight += minWeight; in maxFlow()
269 flow += minWeight; in maxFlow()
[all …]
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/xphoto/src/
H A Dgcgraph.hpp189 TWeight minWeight, weight; in maxFlow() local
244 minWeight = edgePtr[e0].weight; in maxFlow()
245 CV_Assert( minWeight > 0 ); in maxFlow()
254 minWeight = MIN(minWeight, weight); in maxFlow()
255 CV_Assert( minWeight > 0 ); in maxFlow()
258 minWeight = MIN(minWeight, weight); in maxFlow()
259 CV_Assert( minWeight > 0 ); in maxFlow()
263 edgePtr[e0].weight -= minWeight; in maxFlow()
264 edgePtr[e0^1].weight += minWeight; in maxFlow()
265 flow += minWeight; in maxFlow()
[all …]
/dports/www/zend-framework/ZendFramework-2.4.13/library/Zend/Tag/
H A DItemList.php61 $minWeight = null;
65 if ($minWeight === null && $maxWeight === null) {
66 $minWeight = $item->getWeight();
69 $minWeight = min($minWeight, $item->getWeight());
76 $delta = ($maxWeight - $minWeight) / ($steps - 1);
80 $thresholds[$i] = floor(100 * log(($minWeight + $i * $delta) + 2));
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/laminas/laminas-tag/src/
H A DItemList.php60 $minWeight = null;
64 if ($minWeight === null && $maxWeight === null) {
65 $minWeight = $item->getWeight();
68 $minWeight = min($minWeight, $item->getWeight());
75 $delta = ($maxWeight - $minWeight) / ($steps - 1);
79 $thresholds[$i] = floor(100 * log(($minWeight + $i * $delta) + 2));
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/ximgproc/samples/
H A Dfast_hough_transform.cpp148 float minWeight, in getLocalExtr() argument
167 if (value >= minWeight) in getLocalExtr()
205 float minWeight, in getLocalExtr() argument
212 return getLocalExtr<uchar>(lines, src, fht, minWeight, maxCount); in getLocalExtr()
214 return getLocalExtr<schar>(lines, src, fht, minWeight, maxCount); in getLocalExtr()
216 return getLocalExtr<ushort>(lines, src, fht, minWeight, maxCount); in getLocalExtr()
218 return getLocalExtr<short>(lines, src, fht, minWeight, maxCount); in getLocalExtr()
220 return getLocalExtr<int>(lines, src, fht, minWeight, maxCount); in getLocalExtr()
222 return getLocalExtr<float>(lines, src, fht, minWeight, maxCount); in getLocalExtr()
224 return getLocalExtr<double>(lines, src, fht, minWeight, maxCount); in getLocalExtr()
/dports/science/dftbplus/dftbplus-19.1/prog/dftb+/lib_mixer/
H A Dbroydenmixer.F9046 real(dp) :: minWeight component
107 subroutine BroydenMixer_init(self, mIter, mixParam, omega0, minWeight, & argument
123 real(dp), intent(in) :: minWeight local
139 self%minWeight = minWeight
200 &self%minWeight, self%maxWeight, self%weightFac, self%nElem, &
208 &nn, qDiff, alpha, omega0, minWeight, maxWeight, weightFac, nElem, & argument
239 real(dp), intent(in) :: minWeight local
295 if (ww(nn_1) < minWeight) then
296 ww(nn_1) = minWeight
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_experimental/filter_segmentation/
H A DRG_Segmenter.h50 float minWeight = FLT_MAX; in local_boundary_norm() local
66 minWeight = metricNormalDeviation(n1, n2); in local_boundary_norm()
68 if (minWeight < segmenter->getWeightThreshold()) { in local_boundary_norm()
73 return minWeight; in local_boundary_norm()
154 float minWeight = FLT_MAX; in best() local
162 if (minWeight >= weight) { in best()
163 minWeight = weight; in best()
H A DRG_Segmenter.cpp145 float minWeight = RG_Segmenter::error_metric_ptr_(seg, fqPointer, this); in greedyFIFOSegmentation() local
148 if (errorThreshold_ >= minWeight) { in greedyFIFOSegmentation()
192 float minWeight = FLT_MAX; in greedyBestFirstSegmentation() local
251 float minWeight = FLT_MAX; in greedyBestFirstSegmentationLocalNeighbors() local
268 if (minWeight > weight) { in greedyBestFirstSegmentationLocalNeighbors()
269 minWeight = weight; in greedyBestFirstSegmentationLocalNeighbors()
285 if (errorThreshold_ >= minWeight) { in greedyBestFirstSegmentationLocalNeighbors()
H A DHC_Segmenter.cpp64 void HC_Segmenter::clusterUpdateIfNearestOneWay(Cluster *to, float& minWeight, Cluster** A, Cluster… in clusterUpdateIfNearestOneWay() argument
70 if (weight < minWeight){ in clusterUpdateIfNearestOneWay()
71 minWeight = weight; in clusterUpdateIfNearestOneWay()
239 float minWeight = FLT_MAX; in hierarchicalMerging() local
244 if (level2_nodes[i].weight < minWeight){ in hierarchicalMerging()
246 minWeight = level2_nodes[i].weight; in hierarchicalMerging()
256 if (minWeight > errorThreshold_ || active_clusters_ < 7) in hierarchicalMerging()
H A DSegmenter.cpp108 float minWeight = FLT_MAX; in decomposeClusterBestFirst() local
148 if (minWeight >= weight) { in decomposeClusterBestFirst()
149 minWeight = weight; in decomposeClusterBestFirst()
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/crypto/generators/
H A DDHKeyGeneratorHelper.java27 int minWeight = limit >>> 2; in calculatePrivate() local
31 if (WNafUtil.getNafWeight(x) >= minWeight) in calculatePrivate()
52 int minWeight = max.bitLength() >>> 2; in calculatePrivate() local
56 if (WNafUtil.getNafWeight(x) >= minWeight) in calculatePrivate()
H A DDHParametersHelper.java23 int minWeight = size >>> 2; in generateSafePrimes() local
48 if (WNafUtil.getNafWeight(p) < minWeight) in generateSafePrimes()
H A DGOST3410KeyPairGenerator.java42 int minWeight = 64; in generateKeyPair() local
52 if (WNafUtil.getNafWeight(x) < minWeight) in generateKeyPair()
/dports/cad/sumo/sumo-1.2.0/tools/assign/
H A Dinputs.py109 minWeight = min(weightList)
112 edge.freeflowtime = (float(edge.ratio) / minWeight) * 1200.
120 minWeight = min(weightList)
123 edge.freeflowtime = (float(edge.ratio) / minWeight) * 1200.
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/PgSQL/rdkit/
H A Dbfp_gist.c62 uint16 minWeight; member
429 if ((keyData->maxWeight < t*nQuery) || (nQuery < t*keyData->minWeight)) { in gbfp_inner_consistent()
708 if (innerData->minWeight < resultData->minWeight) { in merge_key()
709 resultData->minWeight = innerData->minWeight; in merge_key()
724 if (leafData->weight < resultData->minWeight) { in merge_key()
725 resultData->minWeight = leafData->weight; in merge_key()
754 minw1 = innerData->minWeight; in keys_distance()
767 minw2 = innerData->minWeight; in keys_distance()
813 innerData->minWeight = innerData->maxWeight = leafData->weight; in copy_leaf_key()
/dports/net/cloudquery/cloudquery-0.16.0/vendor/google.golang.org/grpc/xds/internal/balancer/ringhash/
H A Dring.go69 normalizedWeights, minWeight, err := normalizeWeights(subConns)
79 scale := math.Min(math.Ceil(minWeight*float64(minRingSize))/minWeight, float64(maxRingSize))
/dports/www/gitea/gitea-1.16.5/vendor/google.golang.org/grpc/xds/internal/balancer/ringhash/
H A Dring.go69 normalizedWeights, minWeight, err := normalizeWeights(subConns)
79 scale := math.Min(math.Ceil(minWeight*float64(minRingSize))/minWeight, float64(maxRingSize))
/dports/www/minio-client/mc-RELEASE.2021-12-10T00-14-28Z/vendor/google.golang.org/grpc/xds/internal/balancer/ringhash/
H A Dring.go69 normalizedWeights, minWeight, err := normalizeWeights(subConns)
79 scale := math.Min(math.Ceil(minWeight*float64(minRingSize))/minWeight, float64(maxRingSize))
/dports/www/tusd/tusd-1.8.0/vendor/google.golang.org/grpc/xds/internal/balancer/ringhash/
H A Dring.go69 normalizedWeights, minWeight, err := normalizeWeights(subConns)
79 scale := math.Min(math.Ceil(minWeight*float64(minRingSize))/minWeight, float64(maxRingSize))
/dports/www/grafana8/grafana-8.3.6/vendor/google.golang.org/grpc/xds/internal/balancer/ringhash/
H A Dring.go69 normalizedWeights, minWeight, err := normalizeWeights(subConns)
79 scale := math.Min(math.Ceil(minWeight*float64(minRingSize))/minWeight, float64(maxRingSize))
/dports/ftp/sftpgo/sftpgo-2.2.0/vendor/google.golang.org/grpc/xds/internal/balancer/ringhash/
H A Dring.go69 normalizedWeights, minWeight, err := normalizeWeights(subConns)
79 scale := math.Min(math.Ceil(minWeight*float64(minRingSize))/minWeight, float64(maxRingSize))
/dports/math/ogdf/OGDF/include/ogdf/graphalg/
H A DMinSteinerTreeShore.h449 minWeight = MAX_WEIGHT, in determineBranchingEdge() local
457 if(weightOf(e) < minWeight) { in determineBranchingEdge()
458 secondMinWeight = minWeight; in determineBranchingEdge()
459 minWeight = weightOf(e); in determineBranchingEdge()
486 if(minWeight == MAX_WEIGHT || in determineBranchingEdge()
489 if(minWeight == MAX_WEIGHT) { in determineBranchingEdge()
493 sumOfMinWeights += minWeight; in determineBranchingEdge()
495 T penalty = secondMinWeight - minWeight; in determineBranchingEdge()
/dports/science/rdkit/rdkit-Release_2021_03_5/rdkit/ML/Neural/
H A DNetwork.py38 def ConstructRandomWeights(self, minWeight=-1, maxWeight=1): argument
51 weights = [random.uniform(minWeight, maxWeight) for _ in range(len(inputs))]
217 self.ConstructRandomWeights(minWeight=-weightBounds, maxWeight=weightBounds)

12345678910>>...16