| Package | Description |
|---|---|
| net.sf.tweety.lp.asp.parser | |
| net.sf.tweety.lp.asp.semantics | |
| net.sf.tweety.lp.asp.syntax |
| Modifier and Type | Method and Description |
|---|---|
static ASPRule |
ASPCore2Parser.parseRule(Reader reader) |
static ASPRule |
ASPCore2Parser.parseRule(String rule) |
ASPRule |
InstantiateVisitor.visit(ASTChoiceElement node,
Object data) |
ASPRule |
InstantiateVisitor.visit(ASTOptElement node,
Object data) |
ASPRule |
InstantiateVisitor.visit(ASTRule node,
Object data) |
| Modifier and Type | Method and Description |
|---|---|
List<ASPRule> |
InstantiateVisitor.visit(ASTChoiceElementList node,
Object data) |
List<ASPRule> |
InstantiateVisitor.visit(ASTOptElementList node,
Object data) |
List<ASPRule> |
InstantiateVisitor.visit(ASTOpt node,
Object data) |
List<ASPRule> |
InstantiateVisitor.visit(ASTRuleList node,
Object data) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AnswerSet.satisfies(ASPRule formula) |
| Modifier and Type | Method and Description |
|---|---|
ASPRule |
ASPRule.clone() |
ASPRule |
ASPRule.exchange(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v,
net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t) |
ASPRule |
ASPRule.substitute(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v,
net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t) |
| Modifier and Type | Method and Description |
|---|---|
Set<ASPRule> |
Program.getRules()
Returns all rules of the program.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ASPRule.compareTo(ASPRule arg0) |
boolean |
Program.contains(ASPRule r)
Returns true if the program contains a given rule.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Program.addAll(List<ASPRule> rules) |
| Constructor and Description |
|---|
ASPRule(ASPRule other)
Copy-Constructor
|
| Constructor and Description |
|---|
Program(ASPLiteral query,
Set<ASPRule> rules)
Creates a new program with the given query and rules.
|
Program(Collection<ASPRule> rules)
Creates a new program with the given rules.
|
Copyright © 2019. All rights reserved.