class_docstr: !
  @brief CLIQUE block contains information about its logical location in grid, spatial location in data space and
          points that are covered by the block.
class_docstr_tok: ["!","@","brief","CLIQUE","block","contains","information","about","its","logical","location","in","grid",",","spatial","location","in","data","space","and","points","that","are","covered","by","the","block","."]
docstr: !
  @brief Initializes CLIQUE block.
  
  @param[in] logical_location (list): Logical location of the block in CLIQUE grid.
  @param[in] spatial_location (spatial_block): Spatial location in data space.
  @param[in] points (array_like): Points that belong to this block (can be obtained by method 'capture_points',
              this parameter is used by CLIQUE in case of processing by C++ implementation when clustering
              result are passed back to Python code.
  @param[in] visited (bool): Marks if block is visited during clustering process.
docstr_tok: ["!","@","brief","Initializes","CLIQUE","block",".","@","param","[","in","]","logical_location","(","list",")",":","Logical","location","of","the","block","in","CLIQUE","grid",".","@","param","[","in","]","spatial_location","(","spatial_block",")",":","Spatial","location","in","data","space",".","@","param","[","in","]","points","(","array_like",")",":","Points","that","belong","to","this","block","(","can","be","obtained","by","method","'capture_points","'",",","this","parameter","is","used","by","CLIQUE","in","case","of","processing","by","C++","implementation","when","clustering","result","are","passed","back","to","Python","code",".","@","param","[","in","]","visited","(","bool",")",":","Marks","if","block","is","visited","during","clustering","process","."]
code: def __init__(
      self,
      logical_location=None,
      spatial_location=None,
      points=None,
      visited=False,
  ):
      """!
      @brief Initializes CLIQUE block.
  
      @param[in] logical_location (list): Logical location of the block in CLIQUE grid.
      @param[in] spatial_location (spatial_block): Spatial location in data space.
      @param[in] points (array_like): Points that belong to this block (can be obtained by method 'capture_points',
                  this parameter is used by CLIQUE in case of processing by C++ implementation when clustering
                  result are passed back to Python code.
      @param[in] visited (bool): Marks if block is visited during clustering process.
  
      """
      self.__logical_location = logical_location or []
      self.__spatial_location = spatial_location
      self.__points = points or []
      self.__visited = visited
  
imports: import itertools
  from pyclustering.cluster import cluster_visualizer
  from pyclustering.cluster.encoder import type_encoding
  from pyclustering.core.wrapper import ccore_library
  import pyclustering.core.clique_wrapper
  import matplotlib
  import matplotlib.gridspec
  import matplotlib.pyplot
  import matplotlib.patches
label_desc: Use image node_id 1 to create a new clique_block object  with example: obj = clique_block(logical_location, spatial_location, points, visited)