![]() |
Description of cluster for representation on canvas. More...
Public Member Functions | |
| def | __init__ (self, cluster, data, marker, markersize, color) |
| Constructor of cluster representation on the canvas. More... | |
Public Attributes | |
| cluster | |
| Cluster that may consist of objects or indexes of objects from data. More... | |
| data | |
| Data where objects are stored. More... | |
| marker | |
| Marker that is used for drawing objects. More... | |
| markersize | |
| Size of marker that is used for drawing objects. More... | |
| color | |
| Color that is used for coloring marker. More... | |
| attributes | |
| Attribures of the clusters - additional collections of data points that are regarded to the cluster. More... | |
Description of cluster for representation on canvas.
Definition at line 40 of file __init__.py.
| def pyclustering.cluster.canvas_cluster_descr.__init__ | ( | self, | |
| cluster, | |||
| data, | |||
| marker, | |||
| markersize, | |||
| color | |||
| ) |
Constructor of cluster representation on the canvas.
| [in] | cluster | (list): Single cluster that consists of objects or indexes from data. |
| [in] | data | (list): Objects that should be displayed, can be None if clusters consist of objects instead of indexes. |
| [in] | marker | (string): Type of marker that is used for drawing objects. |
| [in] | markersize | (uint): Size of marker that is used for drawing objects. |
| [in] | color | (string): Color of the marker that is used for drawing objects. |
Definition at line 46 of file __init__.py.
| pyclustering.cluster.canvas_cluster_descr.attributes |
Attribures of the clusters - additional collections of data points that are regarded to the cluster.
Definition at line 73 of file __init__.py.
| pyclustering.cluster.canvas_cluster_descr.cluster |
Cluster that may consist of objects or indexes of objects from data.
Definition at line 58 of file __init__.py.
| pyclustering.cluster.canvas_cluster_descr.color |
Color that is used for coloring marker.
Definition at line 70 of file __init__.py.
| pyclustering.cluster.canvas_cluster_descr.data |
Data where objects are stored.
It can be None if clusters consist of objects instead of indexes.
Definition at line 61 of file __init__.py.
Referenced by pyclustering.container.kdtree.node.__repr__().
| pyclustering.cluster.canvas_cluster_descr.marker |
Marker that is used for drawing objects.
Definition at line 64 of file __init__.py.
| pyclustering.cluster.canvas_cluster_descr.markersize |
Size of marker that is used for drawing objects.
Definition at line 67 of file __init__.py.