Class AbstractRankingReasonerFactory
java.lang.Object
org.tweetyproject.web.services.rankings.AbstractRankingReasonerFactory
Abstract factory for creating ranking reasoners.
- Author:
- Lars Bengel
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetRankingType(String semantics) Determine what type of ranking the semantics computesstatic AbstractRankingReasoner<?>getReasoner(RankingSemantics semantics) returns a simple reasoner for the given semanticsstatic RankingSemantics[]returns the list of all available semantics
-
Method Details
-
getSemantics
returns the list of all available semantics- Returns:
- the list o all ranking semantics
-
getReasoner
returns a simple reasoner for the given semantics- Parameters:
semantics- some ranking semantics- Returns:
- simple reasoner for the given semantics
-
getRankingType
Determine what type of ranking the semantics computes- Parameters:
semantics- some ranking semantics as a string- Returns:
- the ranking type
-