pyclustering.cluster.canvas_cluster_descr Class Reference

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...
 

Detailed Description

Description of cluster for representation on canvas.

Definition at line 40 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

def pyclustering.cluster.canvas_cluster_descr.__init__ (   self,
  cluster,
  data,
  marker,
  markersize,
  color 
)

Constructor of cluster representation on the canvas.

Parameters
[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.

Member Data Documentation

◆ attributes

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.

◆ cluster

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.

◆ color

pyclustering.cluster.canvas_cluster_descr.color

Color that is used for coloring marker.

Definition at line 70 of file __init__.py.

◆ data

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__().

◆ marker

pyclustering.cluster.canvas_cluster_descr.marker

Marker that is used for drawing objects.

Definition at line 64 of file __init__.py.

◆ markersize

pyclustering.cluster.canvas_cluster_descr.markersize

Size of marker that is used for drawing objects.

Definition at line 67 of file __init__.py.


The documentation for this class was generated from the following file: