Uses of Class
org.tweetyproject.preferences.PreferenceOrder
Packages that use PreferenceOrder
Package
Description
-
Uses of PreferenceOrder in org.tweetyproject.preferences
Methods in org.tweetyproject.preferences with parameters of type PreferenceOrderModifier and TypeMethodDescriptionboolean
PreferenceOrder.compareEqualityWith
(PreferenceOrder<T> po) compares this preference order to another given one whether each relation is contained in both -
Uses of PreferenceOrder in org.tweetyproject.preferences.aggregation
Methods in org.tweetyproject.preferences.aggregation that return PreferenceOrderModifier and TypeMethodDescriptionDynamicPreferenceAggregator.aggregate
(List<PreferenceOrder<T>> input) Abstract class for implementation of dynamic preference aggregationDynamicScoringPreferenceAggregator.aggregate
(List<PreferenceOrder<T>> input) This method aggregates the given preference orders according to the WeightVector used within constructionPreferenceAggregator.aggregate
(List<PreferenceOrder<T>> input) Abstract class for implementation of different aggregation and scoring methodsScoringPreferenceAggregator.aggregate
(List<PreferenceOrder<T>> input) Implementation of the aggregation of a given input-array of sets and a weight vectorThis update stream is going to be used for dynamic changes in a preferences orders Input: ArrayList(Quadruple(PreferenceOrder, Number of Operations, Operation, Element)) e.g: weakening element b in PO test 2 times needs quadruple like this: Quadruple(test, 2, WEAKEN, b) Possible Structures: ArrayList, Queue Empty initialization, update() if stream is not emptyThe update-method for dynamically changing the input for preference aggregationDynamicScoringPreferenceAggregator.update
(UpdateStream<T> stream, List<PreferenceOrder<T>> input) this method extends the update-functionality with input-streams consisting of Update-elementsMethod parameters in org.tweetyproject.preferences.aggregation with type arguments of type PreferenceOrderModifier and TypeMethodDescriptionDynamicPreferenceAggregator.aggregate
(List<PreferenceOrder<T>> input) Abstract class for implementation of dynamic preference aggregationDynamicScoringPreferenceAggregator.aggregate
(List<PreferenceOrder<T>> input) This method aggregates the given preference orders according to the WeightVector used within constructionPreferenceAggregator.aggregate
(List<PreferenceOrder<T>> input) Abstract class for implementation of different aggregation and scoring methodsScoringPreferenceAggregator.aggregate
(List<PreferenceOrder<T>> input) Implementation of the aggregation of a given input-array of sets and a weight vectorThis update stream is going to be used for dynamic changes in a preferences orders Input: ArrayList(Quadruple(PreferenceOrder, Number of Operations, Operation, Element)) e.g: weakening element b in PO test 2 times needs quadruple like this: Quadruple(test, 2, WEAKEN, b) Possible Structures: ArrayList, Queue Empty initialization, update() if stream is not emptyThe update-method for dynamically changing the input for preference aggregationDynamicScoringPreferenceAggregator.update
(UpdateStream<T> stream, List<PreferenceOrder<T>> input) this method extends the update-functionality with input-streams consisting of Update-elements -
Uses of PreferenceOrder in org.tweetyproject.preferences.events
Methods in org.tweetyproject.preferences.events that return PreferenceOrderModifier and TypeMethodDescriptionUpdateEvent.getResult()
returns the result for this update eventMethods in org.tweetyproject.preferences.events with parameters of type PreferenceOrderModifier and TypeMethodDescriptionboolean
UpdateEvent.setResult
(PreferenceOrder<T> result) Sets the result in for this update eventConstructors in org.tweetyproject.preferences.events with parameters of type PreferenceOrderModifierConstructorDescriptionUpdateEvent
(Object source, PreferenceOrder<T> result) constructor for an update containing the aggregation result -
Uses of PreferenceOrder in org.tweetyproject.preferences.io
Methods in org.tweetyproject.preferences.io that return PreferenceOrderModifier and TypeMethodDescriptionstatic PreferenceOrder
<String> static PreferenceOrder
<String> Parses aPreferenceOrder
of typeString
from a given file path.final PreferenceOrder
<String> POParser.StringPreferenceOrder()
Get a StringPreferenceOrderMethods in org.tweetyproject.preferences.io with parameters of type PreferenceOrderModifier and TypeMethodDescriptionvoid
POWriter.writeToFile
(String filename, PreferenceOrder<T> po) Write to fileConstructor parameters in org.tweetyproject.preferences.io with type arguments of type PreferenceOrder -
Uses of PreferenceOrder in org.tweetyproject.preferences.ranking
Methods in org.tweetyproject.preferences.ranking that return PreferenceOrderModifier and TypeMethodDescriptionabstract PreferenceOrder
<T> Functions.generatePreferenceOrder()
this method returns a preference order made out of an ranking functionLevelingFunction.generatePreferenceOrder()
this method returns a preference order made out of this leveling functionRankingFunction.generatePreferenceOrder()
this method returns a preference order made out of an ranking functionConstructors in org.tweetyproject.preferences.ranking with parameters of type PreferenceOrderModifierConstructorDescriptionthis constructor creates a leveling function using a given preference order -
Uses of PreferenceOrder in org.tweetyproject.preferences.test
Methods in org.tweetyproject.preferences.test that return PreferenceOrder