public abstract class AbstractCredibilityComparer extends Object
| Constructor and Description |
|---|
AbstractCredibilityComparer(Collection<InformationObject<net.sf.tweety.logics.pl.syntax.PropositionalFormula>> formulas,
net.sf.tweety.graphs.orders.Order<net.sf.tweety.agents.Agent> credOrder)
Creates a new credibility comparer that is guided by the giving information which
agents uttered the formulas and the credibility order.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isAtLeastAsPreferredAs(Collection<? extends net.sf.tweety.logics.pl.syntax.PropositionalFormula> col1,
Collection<? extends net.sf.tweety.logics.pl.syntax.PropositionalFormula> col2)
Checks whether col1 is at least as preferred as col2 wrt.
|
protected boolean |
isAtLeastAsPreferredAs(net.sf.tweety.logics.pl.syntax.PropositionalFormula f,
Collection<? extends net.sf.tweety.logics.pl.syntax.PropositionalFormula> formulas)
Checks whether f is at least as preferred as some formula in "formulas"
|
protected boolean |
isAtLeastAsPreferredAs(net.sf.tweety.logics.pl.syntax.PropositionalFormula f,
net.sf.tweety.logics.pl.syntax.PropositionalFormula f2)
Checks whether f is at least as preferred as f2
|
public AbstractCredibilityComparer(Collection<InformationObject<net.sf.tweety.logics.pl.syntax.PropositionalFormula>> formulas, net.sf.tweety.graphs.orders.Order<net.sf.tweety.agents.Agent> credOrder)
formulas - The information objects that hold the information which agents
uttered the formulas.credOrder - The credibility order used to guide the comparison.protected boolean isAtLeastAsPreferredAs(Collection<? extends net.sf.tweety.logics.pl.syntax.PropositionalFormula> col1, Collection<? extends net.sf.tweety.logics.pl.syntax.PropositionalFormula> col2)
col1 - a set of formulascol2 - a set of formulasprotected boolean isAtLeastAsPreferredAs(net.sf.tweety.logics.pl.syntax.PropositionalFormula f,
Collection<? extends net.sf.tweety.logics.pl.syntax.PropositionalFormula> formulas)
f - some formulaformulas - a set of formulasprotected boolean isAtLeastAsPreferredAs(net.sf.tweety.logics.pl.syntax.PropositionalFormula f,
net.sf.tweety.logics.pl.syntax.PropositionalFormula f2)
f - some formulaf2 - some formulaCopyright © 2018. All rights reserved.