cluster¶
Bindings for protocols::multistage_rosetta_scripts::cluster namespace
-
pyrosetta.rosetta.protocols.multistage_rosetta_scripts.cluster.
complex_type_name_for_cluster_metric
(cm_type: str) → str¶ C++: protocols::multistage_rosetta_scripts::cluster::complex_type_name_for_cluster_metric(const class std::basic_string<char> &) –> std::string
-
pyrosetta.rosetta.protocols.multistage_rosetta_scripts.cluster.
k_medoids_on_the_fly
(*args, **kwargs)¶ Overloaded function.
- k_medoids_on_the_fly(points: pyrosetta.rosetta.utility.vector1_std_shared_ptr_const_protocols_multistage_rosetta_scripts_cluster_ClusterMetric_t, num_medoids: int, medoid_positions: pyrosetta.rosetta.utility.vector1_bool) -> None
Finds “num_medoids” number of clusters from within the “points” vector. If a point becomes the center of a cluster, it’s index in “medoid_positions” is set to true. False otherwise. medoid_positions.size() will equal points.size()
C++: protocols::multistage_rosetta_scripts::cluster::k_medoids_on_the_fly(const class utility::vector1<class std::shared_ptr<const class protocols::multistage_rosetta_scripts::cluster::ClusterMetric>, class std::allocator<class std::shared_ptr<const class protocols::multistage_rosetta_scripts::cluster::ClusterMetric> > > &, const unsigned short, class utility::vector1<bool, class std::allocator<bool> > &) –> void
- k_medoids_on_the_fly(points: pyrosetta.rosetta.utility.vector1_std_shared_ptr_const_protocols_multistage_rosetta_scripts_cluster_ClusterMetric_t, num_medoids: int) -> pyrosetta.rosetta.utility.vector1_bool
- This overload provides you with the vector of results.
- It is mildly more convenient but mildly less efficient. Differences are mild all around.
C++: protocols::multistage_rosetta_scripts::cluster::k_medoids_on_the_fly(const class utility::vector1<class std::shared_ptr<const class protocols::multistage_rosetta_scripts::cluster::ClusterMetric>, class std::allocator<class std::shared_ptr<const class protocols::multistage_rosetta_scripts::cluster::ClusterMetric> > > &, const unsigned short) –> class utility::vector1<bool, class std::allocator<bool> >
-
pyrosetta.rosetta.protocols.multistage_rosetta_scripts.cluster.
k_medoids_with_edge_precalculation
(*args, **kwargs)¶ Overloaded function.
- k_medoids_with_edge_precalculation(points: pyrosetta.rosetta.utility.vector1_std_shared_ptr_const_protocols_multistage_rosetta_scripts_cluster_ClusterMetric_t, num_medoids: int, medoid_positions: pyrosetta.rosetta.utility.vector1_bool) -> None
Finds “num_medoids” number of clusters from within the “points” vector. If a point becomes the center of a cluster, it’s index in “medoid_positions” is set to true. False otherwise. medoid_positions.size() will equal points.size()
C++: protocols::multistage_rosetta_scripts::cluster::k_medoids_with_edge_precalculation(const class utility::vector1<class std::shared_ptr<const class protocols::multistage_rosetta_scripts::cluster::ClusterMetric>, class std::allocator<class std::shared_ptr<const class protocols::multistage_rosetta_scripts::cluster::ClusterMetric> > > &, const unsigned short, class utility::vector1<bool, class std::allocator<bool> > &) –> void
- k_medoids_with_edge_precalculation(points: pyrosetta.rosetta.utility.vector1_std_shared_ptr_const_protocols_multistage_rosetta_scripts_cluster_ClusterMetric_t, num_medoids: int) -> pyrosetta.rosetta.utility.vector1_bool
- This overload provides you with the vector of results.
- It is mildly more convenient but mildly less efficient. Differences are mild all around.
C++: protocols::multistage_rosetta_scripts::cluster::k_medoids_with_edge_precalculation(const class utility::vector1<class std::shared_ptr<const class protocols::multistage_rosetta_scripts::cluster::ClusterMetric>, class std::allocator<class std::shared_ptr<const class protocols::multistage_rosetta_scripts::cluster::ClusterMetric> > > &, const unsigned short) –> class utility::vector1<bool, class std::allocator<bool> >
-
pyrosetta.rosetta.protocols.multistage_rosetta_scripts.cluster.
vector_has_n_trues
(vec: pyrosetta.rosetta.utility.vector1_bool, n: int) → bool¶ This is a simple utility for debugging. Makes sure we have the right number of medoids assigned.
C++: protocols::multistage_rosetta_scripts::cluster::vector_has_n_trues(const class utility::vector1<bool, class std::allocator<bool> > &, int) –> bool
-
pyrosetta.rosetta.protocols.multistage_rosetta_scripts.cluster.
xsd_type_definition_w_attributes
(xsd: pyrosetta.rosetta.utility.tag.XMLSchemaDefinition, cm_type: str, description: str, attributes: pyrosetta.rosetta.std.list_utility_tag_XMLSchemaAttribute_t) → None¶ C++: protocols::multistage_rosetta_scripts::cluster::xsd_type_definition_w_attributes(class utility::tag::XMLSchemaDefinition &, const class std::basic_string<char> &, const class std::basic_string<char> &, const class std::list<class utility::tag::XMLSchemaAttribute, class std::allocator<class utility::tag::XMLSchemaAttribute> > &) –> void