public class DefaultTheory extends Object implements net.sf.tweety.commons.BeliefBase
| Constructor and Description |
|---|
DefaultTheory()
constructs empty default theory
|
DefaultTheory(net.sf.tweety.logics.fol.FolBeliefSet facts,
Collection<DefaultRule> defaults)
constructs a default theory from a knowledge base and a set of defaults
|
| Modifier and Type | Method and Description |
|---|---|
Collection<DefaultRule> |
getDefaults() |
net.sf.tweety.logics.fol.FolBeliefSet |
getFacts() |
net.sf.tweety.commons.Signature |
getSignature() |
DefaultTheory |
ground()
Removes Variables by expanding formulas
|
String |
toString() |
public DefaultTheory()
public DefaultTheory(net.sf.tweety.logics.fol.FolBeliefSet facts,
Collection<DefaultRule> defaults)
facts - the knowledge basedefaults - the defaultspublic Collection<DefaultRule> getDefaults()
public DefaultTheory ground()
public net.sf.tweety.commons.Signature getSignature()
getSignature in interface net.sf.tweety.commons.BeliefBasepublic String toString()
public net.sf.tweety.logics.fol.FolBeliefSet getFacts()
Copyright © 2018. All rights reserved.