- java.lang.Object
-
- org.logicng.propositions.Proposition
-
- Direct Known Subclasses:
ExtendedProposition,StandardProposition
public abstract class Proposition extends Object
An interface for a proposition in LogicNG. A proposition is a formula with an additional information like a textual description or a user-provided object.- Since:
- 1.0
- Version:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description Proposition()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Formulaformula()Returns the formula of this proposition.
-
-
-
Method Detail
-
formula
public abstract Formula formula()
Returns the formula of this proposition.- Returns:
- the formula of this proposition
-
-