Class SetTrie<T extends Comparable<T>>

java.lang.Object
org.tweetyproject.commons.util.SetTrie<T>
Type Parameters:
T - The type of elements in the sets stored in the trie. Elements must be comparable.

public class SetTrie<T extends Comparable<T>> extends Object
This class implements a set-trie, a data structure for storing sets efficiently. It supports fast queries for subset containment and can be configured to store only minimal sets when used for subset testing. The implementation is based on the set-trie as defined in the paper:
Iztok Savnik: "Index Data Structure for Fast Subset and Superset Queries." CD-ARES 2013: 134-148.

The set-trie allows the addition of sets and supports queries for checking whether a specific set or a subset of a given set is contained within the trie. Note that the removal of sets is not supported in this implementation.
Author:
Matthias Thimm