Uses of Class
org.tweetyproject.preferences.PreferenceOrder
Package
Description
-
Uses of PreferenceOrder in org.tweetyproject.preferences
Modifier 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
Modifier 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-elementsModifier 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
Modifier and TypeMethodDescriptionUpdateEvent.getResult()
returns the result for this update eventModifier and TypeMethodDescriptionboolean
UpdateEvent.setResult
(PreferenceOrder<T> result) Sets the result in for this update eventModifierConstructorDescriptionUpdateEvent
(Object source, PreferenceOrder<T> result) constructor for an update containing the aggregation result -
Uses of PreferenceOrder in org.tweetyproject.preferences.io
Modifier and TypeMethodDescriptionstatic PreferenceOrder
<String> static PreferenceOrder
<String> Parses aPreferenceOrder
of typeString
from a given file path.final PreferenceOrder
<String> POParser.StringPreferenceOrder()
Get a StringPreferenceOrderModifier and TypeMethodDescriptionvoid
POWriter.writeToFile
(String filename, PreferenceOrder<T> po) Write to file -
Uses of PreferenceOrder in org.tweetyproject.preferences.ranking
Modifier 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 functionModifierConstructorDescriptionthis constructor creates a leveling function using a given preference order -
Uses of PreferenceOrder in org.tweetyproject.preferences.test