public class CTransitionSystemCalculator extends Object
| Constructor and Description |
|---|
CTransitionSystemCalculator(net.sf.tweety.lp.asp.solver.AspInterface aspsolver)
Creates a new transition system calculator with the given interface to an
answer set solver.
|
| Modifier and Type | Method and Description |
|---|---|
Set<State> |
calculateStates(CActionDescription actionDescription,
ActionSignature signature)
calculates the set of all states of the transition system described by an
action description.
|
TransitionSystem |
calculateTransitionSystem(CActionDescription actionDescription,
ActionSignature signature)
Calculates a transition system as described by the given action description
using all symbols in the given action signature.
|
String |
getLpT(CActionDescription d,
ActionSignature signature,
int T)
Calculates an extended logic programm lp_T(D) for a given action
description D and a parameter T, which corresponds to the length of
histories in the transition system described by D.
|
public CTransitionSystemCalculator(net.sf.tweety.lp.asp.solver.AspInterface aspsolver)
aspsolver - public TransitionSystem calculateTransitionSystem(CActionDescription actionDescription, ActionSignature signature) throws IOException
actionDescription - an action description.signature - an action signature.IOExceptionIllegalArgumentException - is thrown, when the given action
description is not definite, as this method only works for
definite action descriptions.public Set<State> calculateStates(CActionDescription actionDescription, ActionSignature signature) throws IOException
actionDescription - an action description.signature - an action signature.IOExceptionIllegalArgumentException - is thrown, when the given action
description is not definite.public String getLpT(CActionDescription d, ActionSignature signature, int T)
d - an action description.signature - an action signature.T - length of histories of the transition system of D, that correspond
to answer sets of lp_T(D).Copyright © 2018. All rights reserved.