public class DefaultSequence extends Object
| Constructor and Description |
|---|
DefaultSequence(DefaultSequence ds,
DefaultRule d)
constructs a sequence by appending d to ds
|
DefaultSequence(DefaultTheory dt)
constructs an empty sequence of defaults of the default theory dt
|
| Modifier and Type | Method and Description |
|---|---|
DefaultSequence |
app(DefaultRule d)
Constructs a new DefaultSequence
|
Collection<net.sf.tweety.logics.fol.syntax.FolFormula> |
getIn() |
Collection<net.sf.tweety.logics.fol.syntax.FolFormula> |
getOut() |
boolean |
isApplicable(DefaultRule d)
applicable ^= pre in In and (not jus_i) not in In forall i
|
boolean |
isClosed(DefaultTheory t)
Tests wether all applicble defaukts from t have been applied
|
boolean |
isProcess()
process <=> all defaults are unique and applicable in sequence
|
boolean |
isSuccessful()
successfull <=> there is no x: x in In and x in Out
|
String |
toString() |
public DefaultSequence(DefaultTheory dt)
dt - a default theory, from which defaults will be added to the sequencepublic DefaultSequence(DefaultSequence ds, DefaultRule d)
ds - d - public DefaultSequence app(DefaultRule d)
d - public boolean isApplicable(DefaultRule d)
d - public Collection<net.sf.tweety.logics.fol.syntax.FolFormula> getIn()
public Collection<net.sf.tweety.logics.fol.syntax.FolFormula> getOut()
public boolean isProcess()
public boolean isSuccessful()
public boolean isClosed(DefaultTheory t)
Copyright © 2018. All rights reserved.