Class InformationObject<T extends Formula>
- java.lang.Object
-
- org.tweetyproject.beliefdynamics.mas.InformationObject<T>
-
-
Constructor Summary
Constructors Constructor Description InformationObject(T formula, Agent source)Creates a new information object for the given formula and the given source.
-
Method Summary
Modifier and Type Method Description TgetFormula()Returns the formula of this information object.SignaturegetSignature()Returns the signature of the language of this formula.AgentgetSource()Returns the source of this information object.java.lang.StringtoString()
-
-
-
Method Detail
-
getSource
public Agent getSource()
Returns the source of this information object.- Returns:
- the source of this information object.
-
getFormula
public T getFormula()
Returns the formula of this information object.- Returns:
- the formula of this information object.
-
getSignature
public Signature getSignature()
Description copied from interface:FormulaReturns the signature of the language of this formula.- Specified by:
getSignaturein interfaceFormula- Returns:
- the signature of the language of this formula.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-