public class RuleBasedCReasoner
extends net.sf.tweety.commons.Reasoner
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuleBasedCReasoner.Rule
A rule that is applicable by the
RuleBasedCReasoner to reason a
c-representation given a conditional belief base. |
| Constructor and Description |
|---|
RuleBasedCReasoner(ClBeliefSet beliefBase) |
RuleBasedCReasoner(ClBeliefSet beliefBase,
boolean humanFriendly) |
RuleBasedCReasoner(Collection<Conditional> conditionals) |
RuleBasedCReasoner(Collection<Conditional> conditionals,
boolean humanFriendly) |
| Modifier and Type | Method and Description |
|---|---|
ConditionalStructure |
getConditionalStructure() |
Collection<KappaValue> |
getKappas() |
RankingFunction |
getSemantic() |
boolean |
isComplete()
Checks every kappa value.
|
void |
prepare()
Prepares the data structures:
ConditionalStructure and the list of KappaValue, such
that the rules can be applied on them. |
boolean |
process()
Processes the kappa values using the rules stored in the prioritzed rule list.
|
net.sf.tweety.commons.Answer |
query(net.sf.tweety.commons.Formula query) |
public RuleBasedCReasoner(Collection<Conditional> conditionals)
public RuleBasedCReasoner(Collection<Conditional> conditionals, boolean humanFriendly)
public RuleBasedCReasoner(ClBeliefSet beliefBase)
public RuleBasedCReasoner(ClBeliefSet beliefBase, boolean humanFriendly)
public RankingFunction getSemantic()
public boolean process()
public boolean isComplete()
public void prepare()
ConditionalStructure and the list of KappaValue, such
that the rules can be applied on them.public Collection<KappaValue> getKappas()
public ConditionalStructure getConditionalStructure()
public net.sf.tweety.commons.Answer query(net.sf.tweety.commons.Formula query)
query in class net.sf.tweety.commons.ReasonerCopyright © 2018. All rights reserved.