class_docstr: !
  @brief The class represents clustering algorithm ROCK.
  
  Example:
  @code
      from pyclustering.cluster import cluster_visualizer
      from pyclustering.cluster.rock import rock
      from pyclustering.samples.definitions import FCPS_SAMPLES
      from pyclustering.utils import read_sample
  
      # Read sample for clustering from file.
      sample = read_sample(FCPS_SAMPLES.SAMPLE_HEPTA)
  
      # Create instance of ROCK algorithm for cluster analysis. Seven clusters should be allocated.
      rock_instance = rock(sample, 1.0, 7)
  
      # Run cluster analysis.
      rock_instance.process()
  
      # Obtain results of clustering.
      clusters = rock_instance.get_clusters()
  
      # Visualize clustering results.
      visualizer = cluster_visualizer()
      visualizer.append_clusters(clusters, sample)
      visualizer.show()
  @endcode
     
docstr: !
  @brief Returns clustering result representation type that indicate how clusters are encoded.
  
  @return (type_encoding) Clustering result representation.
  
  @see get_clusters()
docstr_tok: ["!","@","brief","Returns","clustering","result","representation","type","that","indicate","how","clusters","are","encoded",".","@","return","(","type_encoding",")","Clustering","result","representation",".","@","see","get_clusters","(",")"]
code: def get_cluster_encoding(self):
      """!
      @brief Returns clustering result representation type that indicate how clusters are encoded.
  
      @return (type_encoding) Clustering result representation.
  
      @see get_clusters()
  
      """
  
      return type_encoding.CLUSTER_INDEX_LIST_SEPARATION
  
file_path: pyclustering/pyclustering/cluster/rock.py
imports: from pyclustering.cluster.encoder import type_encoding
  from pyclustering.utils import euclidean_distance
  from pyclustering.core.wrapper import ccore_library
  import pyclustering.core.rock_wrapper
label_desc: Use image node_id 4 for calling the rock obj's underlying member method code with example usage: obj.get_cluster_encoding() and returns: type_encoding