/dports/science/py-dipy/dipy-1.4.1/dipy/segment/tests/ |
H A D | test_clustering.py | 365 cluster_map = ClusterMap() 379 cluster_map.refdata = data 384 cluster_map.refdata = None 394 cluster_map = ClusterMap() 424 cluster_map = ClusterMap() 438 cluster_map = ClusterMap() 440 cluster_map.add_cluster(*clusters) 452 cluster_map = ClusterMap() 462 cluster_map = ClusterMap() 535 cluster_map = ClusterMap() [all …]
|
H A D | test_bundles.py | 161 cluster_map = qbx_and_merge(f, thresholds=[40, 25, 20, 10]) 164 cluster_map=cluster_map, clust_thr=10)
|
/dports/math/cgal/CGAL-5.3/demo/Polyhedron/Plugins/Point_set/ |
H A D | Point_set_clustering_plugin.cpp | 30 Point_set::Property_map<std::size_t> cluster_map; member 36 Point_set::Property_map<std::size_t> cluster_map) in Clustering_functor() 37 : points (points), cluster_map (cluster_map), in Clustering_functor() 43 *result = CGAL::cluster_point_set (*points, cluster_map, in operator ()() 124 Point_set::Property_map<std::size_t> cluster_map; in on_actionCluster_triggered() local 140 Clustering_functor functor (points, neighbor_radius->value(), cluster_map); in on_actionCluster_triggered() 172 new_items[cluster_map[idx]]->point_set()->insert (*points, idx); in on_actionCluster_triggered() 173 cluster_size[cluster_map[idx]] ++; in on_actionCluster_triggered() 194 if (cluster_size[cluster_map[idx]] >= std::size_t(min_nb->value())) in on_actionCluster_triggered() 196 CGAL::Random rand((unsigned int)(cluster_map[idx] + 1)); in on_actionCluster_triggered() [all …]
|
/dports/math/cgal/CGAL-5.3/include/CGAL/ |
H A D | cluster_point_set.h | 133 ClusterMap cluster_map, in cluster_point_set() argument 179 put (cluster_map, p, Cluster_index_t(-1)); in cluster_point_set() 194 if (get (cluster_map, p) != Cluster_index_t(-1)) in cluster_point_set() 204 if (get (cluster_map, *current) != Cluster_index_t(-1)) in cluster_point_set() 207 put (cluster_map, *current, Cluster_index_t(nb_clusters)); in cluster_point_set() 234 std::size_t c0 = std::size_t(get (cluster_map, p)); in cluster_point_set() 242 std::size_t c1 = std::size_t(get (cluster_map, *it)); in cluster_point_set() 266 ClusterMap cluster_map, in cluster_point_set() argument 269 return cluster_point_set (points, cluster_map, k, in cluster_point_set()
|
/dports/devel/grpc134/grpc-1.34.1/src/core/ext/filters/client_channel/lb_policy/xds/ |
H A D | xds_cluster_manager.cc | 58 XdsClusterManagerLbConfig(ClusterMap cluster_map) in XdsClusterManagerLbConfig() argument 59 : cluster_map_(std::move(cluster_map)) {} in XdsClusterManagerLbConfig() 106 explicit ClusterPicker(ClusterMap cluster_map) in ClusterPicker() argument 107 : cluster_map_(std::move(cluster_map)) {} in ClusterPicker() 269 if (config_->cluster_map().find(name) == config_->cluster_map().end()) { in UpdateLocked() 274 for (const auto& p : config_->cluster_map()) { in UpdateLocked() 300 if (config_->cluster_map().find(child_name) == in UpdateStateLocked() 301 config_->cluster_map().end()) { in UpdateStateLocked() 344 ClusterPicker::ClusterMap cluster_map; in UpdateStateLocked() local 348 cluster_map[cluster_name]; in UpdateStateLocked() [all …]
|
/dports/devel/grpc/grpc-1.42.0/src/core/ext/filters/client_channel/lb_policy/xds/ |
H A D | xds_cluster_manager.cc | 59 : cluster_map_(std::move(cluster_map)) {} in XdsClusterManagerLbConfig() 106 explicit ClusterPicker(ClusterMap cluster_map) in ClusterPicker() argument 107 : cluster_map_(std::move(cluster_map)) {} in ClusterPicker() 263 if (config_->cluster_map().find(name) == config_->cluster_map().end()) { in UpdateLocked() 268 for (const auto& p : config_->cluster_map()) { in UpdateLocked() 294 if (config_->cluster_map().find(child_name) == in UpdateStateLocked() 295 config_->cluster_map().end()) { in UpdateStateLocked() 334 ClusterPicker::ClusterMap cluster_map; in UpdateStateLocked() local 335 for (const auto& p : config_->cluster_map()) { in UpdateStateLocked() 616 XdsClusterManagerLbConfig::ClusterMap cluster_map; in ParseLoadBalancingConfig() local [all …]
|
/dports/devel/pecl-grpc/grpc-1.42.0/src/core/ext/filters/client_channel/lb_policy/xds/ |
H A D | xds_cluster_manager.cc | 59 : cluster_map_(std::move(cluster_map)) {} in XdsClusterManagerLbConfig() 106 explicit ClusterPicker(ClusterMap cluster_map) in ClusterPicker() argument 107 : cluster_map_(std::move(cluster_map)) {} in ClusterPicker() 263 if (config_->cluster_map().find(name) == config_->cluster_map().end()) { in UpdateLocked() 268 for (const auto& p : config_->cluster_map()) { in UpdateLocked() 294 if (config_->cluster_map().find(child_name) == in UpdateStateLocked() 295 config_->cluster_map().end()) { in UpdateStateLocked() 334 ClusterPicker::ClusterMap cluster_map; in UpdateStateLocked() local 335 for (const auto& p : config_->cluster_map()) { in UpdateStateLocked() 616 XdsClusterManagerLbConfig::ClusterMap cluster_map; in ParseLoadBalancingConfig() local [all …]
|
/dports/devel/py-grpcio/grpcio-1.43.0/src/core/ext/filters/client_channel/lb_policy/xds/ |
H A D | xds_cluster_manager.cc | 59 : cluster_map_(std::move(cluster_map)) {} in XdsClusterManagerLbConfig() 106 explicit ClusterPicker(ClusterMap cluster_map) in ClusterPicker() argument 107 : cluster_map_(std::move(cluster_map)) {} in ClusterPicker() 263 if (config_->cluster_map().find(name) == config_->cluster_map().end()) { in UpdateLocked() 268 for (const auto& p : config_->cluster_map()) { in UpdateLocked() 294 if (config_->cluster_map().find(child_name) == in UpdateStateLocked() 295 config_->cluster_map().end()) { in UpdateStateLocked() 334 ClusterPicker::ClusterMap cluster_map; in UpdateStateLocked() local 335 for (const auto& p : config_->cluster_map()) { in UpdateStateLocked() 616 XdsClusterManagerLbConfig::ClusterMap cluster_map; in ParseLoadBalancingConfig() local [all …]
|
/dports/math/cgal/CGAL-5.3/include/CGAL/Mesh_2/ |
H A D | Clusters.h | 133 Cluster_map cluster_map; variable 151 cluster_map.clear(); in create_clusters() 161 cluster_map.clear(); in create_clusters() 266 return cluster_map.size(); in size() 283 Range range = cluster_map.equal_range(vh); in number_of_clusters_at_vertex() 295 Range range = cluster_map.equal_range(vh); in vertices_in_cluster_sequence() 315 cluster_map.erase(it); in update_cluster() 368 Range range = cluster_map.equal_range(va); in get_cluster() 388 Range range = cluster_map.equal_range(va); in get_cluster() 452 cluster_map.erase(it); in create_clusters_of_vertex() [all …]
|
/dports/misc/elki/elki-release0.7.1-1166-gfb1fffdf3/elki-clustering/src/main/java/de/lmu/ifi/dbs/elki/algorithm/clustering/hierarchical/extraction/ |
H A D | AbstractCutDendrogram.java | 135 protected WritableIntegerDataStore cluster_map; field in AbstractCutDendrogram.Instance 207 int clusterid = cluster_map.intValue(succ); in buildLeafClusters() 211 cluster_map.putInt(it, clusterid); in buildLeafClusters() 223 cluster_map.putInt(succ, clusterid); in buildLeafClusters() 225 cluster_map.putInt(it, clusterid); in buildLeafClusters() 259 int clusterid = cluster_map.intValue(it); in buildFlat() 265 cluster_map = null; // Invalidate in buildFlat() 297 int clusterid = cluster_map.intValue(it); in buildHierarchical() 315 int parentid = cluster_map.intValue(succ); in buildHierarchical() 356 cluster_map.putInt(succ, parentid); // Reference in buildHierarchical() [all …]
|
H A D | SimplifiedHierarchyExtraction.java | 179 …WritableDataStore<TempCluster> cluster_map = DataStoreUtil.makeStorage(ids, DataStoreFactory.HINT_… in run() local 193 TempCluster cclus = cluster_map.get(it); in run() 208 cluster_map.put(it, null); in run() 220 TempCluster oclus = cluster_map.get(succ); in run() 237 cluster_map.put(succ, cclus); in run() 251 cluster_map.put(succ, cclus); in run() 263 cluster_map.put(succ, oclus); in run() 265 cluster_map.put(it, null); in run()
|
H A D | HDBSCANHierarchyExtraction.java | 191 …WritableDataStore<TempCluster> cluster_map = DataStoreUtil.makeStorage(ids, DataStoreFactory.HINT_… in run() local 202 TempCluster cclus = cluster_map.get(clead); in run() 204 cluster_map.put(clead, null); // Forget previous assignment. in run() 218 cluster_map.put(clead, null); in run() 230 TempCluster oclus = cluster_map.get(olead); in run() 262 cluster_map.put(olead, nclus); in run()
|
/dports/biology/plink/plink-ng-79b2df8c/1.9/ |
H A D | plink_assoc.h | 32 …fo_ptr, uintptr_t unfiltered_sample_ct, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 34 …fo_ptr, uintptr_t unfiltered_sample_ct, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 38 …fo_ptr, uintptr_t unfiltered_sample_ct, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 40 …_freqs, uintptr_t unfiltered_sample_ct, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 42 …fo_ptr, uintptr_t unfiltered_sample_ct, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 44 …_freqs, uintptr_t unfiltered_sample_ct, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus…
|
H A D | plink_cluster.h | 50 …luster(uintptr_t unfiltered_sample_ct, uintptr_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 52 …* sample_exclude, uintptr_t sample_ct, uintptr_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 54 …mple_id_len, uint32_t omit_unassigned, uintptr_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 56 …* sample_exclude, uintptr_t sample_ct, uintptr_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 58 …uintptr_t sample_ct, uint32_t is_perm1, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 60 int32_t cluster_alloc_and_populate_magic_nums(uint32_t cluster_ct, uint32_t* cluster_map, uint32_t*…
|
H A D | plink_perm.c | 170 map_ptr = &(cluster_map[cluster_starts[cluster_idx]]); in generate_cc_cluster_perm_vec() 232 map_ptr = &(cluster_map[cluster_starts[cluster_idx]]); in generate_cc_cluster_perm1() 305 uint32_t* cluster_map = g_perm_cluster_map; in generate_cc_cluster_perms_thread() local 317 …generate_cc_cluster_perm_vec(pheno_nm_ct, perm_cluster_cc_preimage, cluster_ct, cluster_map, clust… in generate_cc_cluster_perms_thread() 322 …generate_cc_cluster_perm1(pheno_nm_ct, perm_cluster_cc_preimage, cluster_ct, cluster_map, cluster_… in generate_cc_cluster_perms_thread() 413 uint32_t* cluster_map = g_perm_cluster_map; in generate_qt_cluster_perms_smajor_thread() local 455 cur_map_start = &(cluster_map[cluster_starts[cluster_idx]]); in generate_qt_cluster_perms_smajor_thread() 538 uint32_t* cluster_map = g_perm_cluster_map; in generate_qt_cluster_perms_pmajor_thread() local 574 uii = cluster_map[cluster_starts[cluster_idx] + urand]; in generate_qt_cluster_perms_pmajor_thread() 747 …nfiltered_sample_ct, pheno_nm, 1, pheno_c, pheno_nm_ct, 1, cluster_ct, cluster_map, cluster_starts… in make_perm_pheno() [all …]
|
H A D | plink_glm.h | 31 …t sample_ct, uintptr_t* sample_exclude, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 34 …t sample_ct, uintptr_t* sample_exclude, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 37 …t sample_ct, uintptr_t* sample_exclude, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 40 …t sample_ct, uintptr_t* sample_exclude, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus…
|
H A D | plink_cluster.c | 92 uint32_t* cluster_map; in load_clusters() local 398 cluster_map = *cluster_map_ptr; in load_clusters() 438 cluster_map[uii] = sample_uidx; in load_clusters() 446 std::sort(&(cluster_map[cluster_starts[ulii]]), &(cluster_map[cluster_starts[ulii + 1]])); in load_clusters() 533 cluster_map = *cluster_map_ptr; in load_clusters() 544 cluster_map[uii] = sample_uidx; in load_clusters() 586 uint32_t* cluster_map_pos = cluster_map; in fill_unfiltered_sample_to_cluster() 606 uint32_t* cluster_map_pos = cluster_map; in fill_sample_to_cluster() 761 uiptr = &(cluster_map[cluster_starts[(uint32_t)ii]]); in extract_clusters() 898 *new_cluster_map_ptr = cluster_map; in cluster_include_and_reindex() [all …]
|
H A D | plink_perm.h | 61 …c(uint32_t tot_ct, uintptr_t* preimage, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 63 …1(uint32_t tot_ct, uintptr_t* preimage, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus… 259 …ample_ids, uintptr_t max_sample_id_len, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus…
|
H A D | plink_rserve.h | 21 …t, uintptr_t* pheno_c, double* pheno_d, uint32_t cluster_ct, uint32_t* cluster_map, uint32_t* clus…
|
/dports/math/py-hdbscan/hdbscan-0.8.27/hdbscan/ |
H A D | prediction.py | 110 self.cluster_map = {c: n for n, c in enumerate(sorted(list(selected_clusters)))} 111 self.reverse_cluster_map = {n: c for c, n in self.cluster_map.items()} 130 self.cluster_map[sub_cluster] = self.cluster_map[cluster] 257 cluster_map, max_lambdas, argument 312 if potential_cluster in cluster_map: 313 cluster_label = cluster_map[potential_cluster] 403 clusterer.prediction_data_.cluster_map,
|
H A D | flat.py | 349 prediction_data.cluster_map, 762 predData.cluster_map = {int(c): n for n, c in 765 predData.cluster_map.items()} 781 predData.cluster_map[sub_cluster] = predData.cluster_map[cluster]
|
/dports/math/cgal/CGAL-5.3/examples/Point_set_processing_3/ |
H A D | clustering_example.cpp | 25 Point_set::Property_map<int> cluster_map = points.add_property_map<int>("cluster", -1).first; in main() local 38 = CGAL::cluster_point_set(points, cluster_map, in main() 52 CGAL::Random rand (cluster_map[idx]); in main()
|
/dports/science/py-dipy/dipy-1.4.1/dipy/segment/ |
H A D | bundles.py | 215 cluster_map=None, clust_thr=15, nb_pts=20, argument 279 if cluster_map is None: 285 self.cluster_map = cluster_map 286 self.cluster_map.refdata = self.streamlines 287 self.centroids = self.cluster_map.centroids 289 self.indices = [cluster.indices for cluster in self.cluster_map] 314 self.cluster_map = merged_cluster_map 317 self.indices = [cluster.indices for cluster in self.cluster_map] 710 close_clusters = self.cluster_map[close_clusters_indices]
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/ovirt/ovirt/roles/disaster_recovery/files/ |
H A D | validator.py | 32 cluster_map = 'dr_cluster_mappings' variable in ValidateMappingFile 64 return self._is_list(mapping_vars, self.cluster_map) and self._is_list( 156 cluster_mapping = python_vars.get(self.cluster_map) 237 self.cluster_map, 425 [clusters, self.cluster_map, key1, key2], 468 for cluster_map in cluster_mapping: 469 search_prime = "name=%s" % cluster_map['primary_name'] 470 search_sec = "name=%s" % cluster_map['secondary_name']
|
/dports/devel/grpc/grpc-1.42.0/src/core/ext/xds/ |
H A D | xds_client.cc | 779 for (const auto& c : a.second.cluster_map) { in AdsCallState() 1152 .cluster_map[resource.id]; in AcceptCdsUpdateLocked() 1176 auto& cluster_map = in AcceptCdsUpdateLocked() local 1178 auto it = cluster_map.find(resource.id); in AcceptCdsUpdateLocked() 1179 if (it != cluster_map.end()) { in AcceptCdsUpdateLocked() 1200 .cluster_map[cluster_name]; in AcceptCdsUpdateLocked() 1339 &authority_state.cluster_map); in RejectAdsUpdateLocked() 2057 a.second.cluster_map.clear(); in Orphan() 2255 authority_state.cluster_map.erase(resource->id); in CancelClusterDataWatch() 2469 for (const auto& p : a.second.cluster_map) { in NotifyOnErrorLocked() [all …]
|