public class CActionDescriptionConsistencyTester extends Object implements ActionDescriptionConsistencyTester<CLaw>
| Constructor and Description |
|---|
CActionDescriptionConsistencyTester(net.sf.tweety.lp.asp.solver.AspInterface aspsolver)
Creates a new consistency tester which will use the given answer set
solver.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isConsistent(ActionDescription<CLaw> causalRules)
Checks whether the given set of causal rules is consistent.
|
boolean |
isConsistent(CActionDescription actionDescription)
Checks, whether the given action description in the action language C is
consistent.
|
public CActionDescriptionConsistencyTester(net.sf.tweety.lp.asp.solver.AspInterface aspsolver)
aspsolver - public boolean isConsistent(CActionDescription actionDescription)
actionDescription - an action description.public boolean isConsistent(ActionDescription<CLaw> causalRules)
ActionDescriptionConsistencyTesterisConsistent in interface ActionDescriptionConsistencyTester<CLaw>isConsistent in interface net.sf.tweety.logics.commons.analysis.ConsistencyTester<ActionDescription<CLaw>>causalRules - a set of causal rules.Copyright © 2018. All rights reserved.