Class RankingReasonerGetModelCallee
java.lang.Object
org.tweetyproject.web.services.Callee
org.tweetyproject.web.services.rankings.RankingReasonerGetModelCallee
- All Implemented Interfaces:
Callable
Callee for getting a ranking model
- Author:
- Lars Bengel
-
Constructor Summary
ConstructorsConstructorDescriptionRankingReasonerGetModelCallee(AbstractRankingReasoner<?> reasoner, DungTheory bbase) Constructs a new RankingReasonerGetRankingCallee with the specified reasoner and base DungTheory. -
Method Summary
Modifier and TypeMethodDescriptioncall()Executes the getModel operation using the specified reasoner and base DungTheory.static NumericalPartialOrder<Argument,DungTheory> Convert relative (lattice-based) ranking to a numerical rankingstatic NumericalPartialOrder<Argument,DungTheory> Convert relative (lattice-based) ranking to a numerical ranking
-
Constructor Details
-
RankingReasonerGetModelCallee
Constructs a new RankingReasonerGetRankingCallee with the specified reasoner and base DungTheory.- Parameters:
reasoner- The AbstractRankingReasoner to be used for obtaining the modelbbase- The base DungTheory on which the getModel operation is performed
-
-
Method Details
-
call
Executes the getModel operation using the specified reasoner and base DungTheory. -
toNumericalRanking
public static NumericalPartialOrder<Argument,DungTheory> toNumericalRanking(GeneralComparator<Argument, DungTheory> ranking) Convert relative (lattice-based) ranking to a numerical ranking- Parameters:
ranking- some ranking- Returns:
- the numerical ranking
-
toNumericalRanking
public static NumericalPartialOrder<Argument,DungTheory> toNumericalRanking(LatticePartialOrder<Argument, DungTheory> ranking) Convert relative (lattice-based) ranking to a numerical ranking- Parameters:
ranking- some ranking- Returns:
- the numerical ranking
-