stability_label_algorithm/modules/argumentation/smallest_stable_set_calculator.py
def apriori_gen(item_sets: List[Tuple[T, ...]]) -> List[Tuple[T, ...]]:
    """
    Generate a list of (k + 1) length candidate item_sets based on a SORTED list of k length item sets.

    :param item_sets: A list of item sets of length k, to be joined to k + 1 length candidate item sets
    :return: A list of (k + 1) length candidate item sets
    """
    possible_extensions = join_step(item_sets)
    return prune_step(item_sets, possible_extensions)

    Generate a list of (k + 1) length candidate item_sets based on a SORTED list of k length item sets.

    :param item_sets: A list of item sets of length k, to be joined to k + 1 length candidate item sets
    :return: A list of (k + 1) length candidate item sets
    
Generate a list of (k + 1) length candidate item_sets based on a SORTED list of k length item sets.
Generate a list of ( k + 1 ) length candidate item_sets based on a SORTED list of k length item sets .
def apriori_gen(item_sets: List[Tuple[T, ...]]) -> List[Tuple[T, ...]]:
    possible_extensions = join_step(item_sets)
    return prune_step(item_sets, possible_extensions)
def apriori_gen ( item_sets : List [ Tuple [ T , ... ] ] ) -> List [ Tuple [ T , ... ] ] : possible_extensions = join_step ( item_sets ) return prune_step ( item_sets , possible_extensions )
Generate a list of (k + 1) length candidate item_sets based on a SORTED list of k length item sets.
Generate a list of ( k + 1 ) length candidate item_sets based on a SORTED list of k length item sets .
"""
    Generate a list of (k + 1) length candidate item_sets based on a SORTED list of k length item sets.

    :param item_sets: A list of item sets of length k, to be joined to k + 1 length candidate item sets
    :return: A list of (k + 1) length candidate item sets
    """
A list of (k + 1) length candidate item sets
A list of ( k + 1 ) length candidate item sets
item_sets
List[Tuple[T, ...]]
A list of item sets of length k, to be joined to k + 1 length candidate item sets
A list of item sets of length k to be joined to k + 1 length candidate item sets