def METHOD_NAME(self):
    structure_style = self.container.config.output.structure_style
    if structure_style == StructureStyle.NAMESPACES:
        self.group_by_namespace()
    elif structure_style == StructureStyle.SINGLE_PACKAGE:
        self.group_all_together()
    elif structure_style == StructureStyle.CLUSTERS:
        self.group_by_strong_components()
    elif structure_style == StructureStyle.NAMESPACE_CLUSTERS:
        self.group_by_namespace_clusters()
    else:
        self.group_by_filenames()