Uses of Enum
org.tweetyproject.preferences.Relation
-
Uses of Relation in org.tweetyproject.preferences
Modifier and TypeMethodDescriptionstatic Relation
Returns the enum constant of this type with the specified name.static Relation[]
Relation.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier 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 triplesModifier 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 containedModifier 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 triplesModifierConstructorDescriptionPreferenceOrder
(Collection<? extends Triple<T, T, Relation>> relations) generates a preference order with a given set of elements