Class MlHerbrandBase
java.lang.Object
org.tweetyproject.logics.ml.semantics.MlHerbrandBase
Modified version of HerbrandBase that allows for modal formulas.
The Herbrand base is the set of all possible ground atoms of some
given first-order logic.
NOTE: We only allow to define a Herbrand base for signatures without function symbols.
NOTE: We only allow to define a Herbrand base for signatures without function symbols.
- Author:
- Matthias Thimm, Anna Gessler
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new Herbrand base for the given signature. -
Method Summary
Modifier and TypeMethodDescriptionReturns all possible Herbrand interpretations.getAtoms()
Return all atoms of this Herbrand base.
-
Constructor Details
-
MlHerbrandBase
Creates a new Herbrand base for the given signature.
NOTE: We only allow to define a Herbrand base for signatures without function symbols.- Parameters:
sig
- the underlying first-order signature for this Herbrand base- Throws:
IllegalArgumentException
- if "sig" contains a functor.- See Also:
-
-
Method Details
-
getAllHerbrandInterpretations
Returns all possible Herbrand interpretations.- Returns:
- all possible Herbrand interpretations of this Herbrand base, i.e. all possible subsets of this Herbrand base.
-
getAtoms
-