Uses of Class
net.sf.tweety.preferences.Relation
-
Packages that use Relation Package Description net.sf.tweety.preferences -
-
Uses of Relation in net.sf.tweety.preferences
Methods in net.sf.tweety.preferences that return Relation Modifier and Type Method Description static Relation
Relation. valueOf(java.lang.String name)
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.Methods in net.sf.tweety.preferences that return types with arguments of type Relation Modifier and Type Method Description Triple<T,T,Relation>
PreferenceOrder. get(Triple<T,T,Relation> e)
checks existence and returns a demanded pairTriple<T,T,Relation>
PreferenceOrder. getTriple(T a, T b)
returns a pair if it consists of of two given elementsjava.util.Iterator<Triple<T,T,Relation>>
PreferenceOrder. iterator()
java.util.Iterator<Triple<T,T,Relation>>
PreferenceOrder. iterator(java.util.Set<Triple<T,T,Relation>> s)
returns an iterator over a set of triplesMethods in net.sf.tweety.preferences with parameters of type Relation Modifier and Type Method Description boolean
PreferenceOrder. addPair(T f, T s, Relation relation)
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 net.sf.tweety.preferences with type arguments of type Relation Modifier and Type Method Description boolean
BinaryRelation. add(Triple<T,T,Relation> t)
adds a new triple containing two elements and its relationboolean
PreferenceOrder. add(Triple<T,T,Relation> t)
adds a given pair of generic elements to the set.boolean
PreferenceOrder. addAll(java.util.Collection<? extends Triple<T,T,Relation>> c)
adds all given elements to the preference orderTriple<T,T,Relation>
PreferenceOrder. get(Triple<T,T,Relation> e)
checks existence and returns a demanded pairjava.util.Iterator<Triple<T,T,Relation>>
PreferenceOrder. iterator(java.util.Set<Triple<T,T,Relation>> s)
returns an iterator over a set of triplesConstructor parameters in net.sf.tweety.preferences with type arguments of type Relation Constructor Description PreferenceOrder(java.util.Collection<? extends Triple<T,T,Relation>> relations)
generates a preference order with a given set of elements
-