Uses of Enum Class
org.tweetyproject.preferences.Relation
Packages that use Relation
-
Uses of Relation in org.tweetyproject.preferences
Subclasses with type arguments of type Relation in org.tweetyproject.preferencesModifier and TypeClassDescriptionenum
This enumeration lists the possible relations between two elements in preference orders.Subinterfaces with type arguments of type Relation in org.tweetyproject.preferencesModifier and TypeInterfaceDescriptioninterface
This abstract class provides a basic implementation of a generic set of pairs to be used for preference ordering.Methods in org.tweetyproject.preferences that return RelationModifier and TypeMethodDescriptionstatic Relation
Returns the enum constant of this class with the specified name.static Relation[]
Relation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.tweetyproject.preferences that return types with arguments of type RelationModifier and TypeMethodDescriptionchecks existence and returns a demanded pairreturns a pair if it consists of of two given elementsPreferenceOrder.iterator()
returns an iterator over a set of triplesMethods in org.tweetyproject.preferences with parameters of type RelationModifier and TypeMethodDescriptionboolean
adds two given (single) elements as pair into the setboolean
PreferenceOrder.containsTriple
(T firstElement, T secondElement, Relation relation) checks whether the given triple is containedMethod parameters in org.tweetyproject.preferences with type arguments of type RelationModifier and TypeMethodDescriptionboolean
adds a new triple containing two elements and its relationboolean
adds a given pair of generic elements to the set.boolean
adds all given elements to the preference orderchecks existence and returns a demanded pairreturns an iterator over a set of triplesConstructor parameters in org.tweetyproject.preferences with type arguments of type RelationModifierConstructorDescriptionPreferenceOrder
(Collection<? extends Triple<T, T, Relation>> relations) generates a preference order with a given set of elements