






'''simple docstring'''
_UpperCamelCase											=			{0: [1, 2], 1: [0, 3], 2: [0], 3: [1], 4: [5, 6], 5: [4, 6], 6: [4, 5]}

_UpperCamelCase											=			{0: [1, 2, 3], 1: [0, 3], 2: [0], 3: [0, 1], 4: [], 5: []}


def   lowercase_	(   lowerCAmelCase__	:  Union[str, Any]			,							lowerCAmelCase__	:  Dict			,							lowerCAmelCase__	:  Optional[int] ):

			"""simple docstring"""





			__UpperCAmelCase   :      Any										=     True
			__UpperCAmelCase   :      str										=     []

			for neighbour in graph[vert]:
						if not visited[neighbour]:
									connected_verts += dfs(lowercase_			,							lowercase_			,							lowercase_ )

			return [vert, *connected_verts]


def   lowercase_	(   lowerCAmelCase__	:  Tuple ):

			"""simple docstring"""





			__UpperCAmelCase   :      Tuple										=     len(lowercase_ )
			__UpperCAmelCase   :      Optional[Any]										=     graph_size * [False]
			__UpperCAmelCase   :      Dict										=     []

			for i in range(lowercase_ ):
						if not visited[i]:
									__UpperCAmelCase   :      List[str]										=     dfs(lowercase_			,							lowercase_			,							lowercase_ )
									components_list.append(lowercase_ )

			return components_list


if __name__ == "__main__":
					import doctest

					doctest.testmod()









'''simple docstring'''
from .chunk_utils import chunk_layer
from .data_transforms import make_atomaa_masks
from .feats import atomaa_to_atomaa, frames_and_literature_positions_to_atomaa_pos, torsion_angles_to_frames
from .loss import compute_predicted_aligned_error, compute_tm
from .protein import Protein as OFProtein
from .protein import to_pdb
from .rigid_utils import Rigid, Rotation
from .tensor_utils import dict_multimap, flatten_final_dims, permute_final_dims




