

'''simple docstring'''
class        a__  :


   def __init__(			self  ):





      """simple docstring"""





      _lowercase      :				List[Any]      					=       {}


   def 						_lowerCamelCase       (			self  ):





      """simple docstring"""





      print(self.vertex  )
      for i in self.vertex:
         print(_UpperCamelCase      ,    " -> "      ,    " -> ".join([str(_UpperCamelCase  ) for j in self.vertex[i]]  )  )


   def 						_lowerCamelCase       (			self      ,    _UpperCamelCase      ,    _UpperCamelCase  ):





      """simple docstring"""





      if from_vertex in self.vertex:
         self.vertex[from_vertex].append(_UpperCamelCase  )
      else:
         # else make a new vertex
         _lowercase      :				Any      					=       [to_vertex]


   def 						_lowerCamelCase       (			self  ):





      """simple docstring"""





      _lowercase      :				Any      					=       [False] * len(self.vertex  )

      # call the recursive helper function
      for i in range(len(self.vertex  )  ):
         if not visited[i]:
            self.dfs_recursive(_UpperCamelCase      ,    _UpperCamelCase  )






   def 						_lowerCamelCase       (			self      ,    _UpperCamelCase      ,    _UpperCamelCase  ):





      """simple docstring"""





      _lowercase      :				str      					=       True

      print(_UpperCamelCase      ,    end=" "  )

      # Recur for all the vertices that are adjacent to this node
      for i in self.vertex:
         if not visited[i]:
            self.dfs_recursive(_UpperCamelCase      ,    _UpperCamelCase  )


if __name__ == "__main__":
    _snake_case         =  Graph()
    g.add_edge(0, 1)
    g.add_edge(0, 2)
    g.add_edge(1, 2)
    g.add_edge(2, 0)
    g.add_edge(2, 3)
    g.add_edge(3, 3)

    g.print_graph()
    print('DFS:')
    g.dfs()

    # OUTPUT:
    # 0  ->  1 -> 2
    # 1  ->  2
    # 2  ->  0 -> 3
    # 3  ->  3
    # DFS:
    #  0 1 2 3









'''simple docstring'''
import warnings

from ...utils import logging
from .image_processing_chinese_clip import ChineseCLIPImageProcessor


_snake_case         =  logging.get_logger(__name__)


class        a__  (							lowerCamelCase_  ):


   def __init__(			self      ,    *_UpperCamelCase      ,    **_UpperCamelCase  ):





      """simple docstring"""





      warnings.warn(
          "The class ChineseCLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
          " Please use ChineseCLIPImageProcessor instead."      ,    _UpperCamelCase      ,    )
      super().__init__(*_UpperCamelCase      ,    **_UpperCamelCase  )






