Package net.sf.tweety.beliefdynamics.mas
Class InformationObject<T extends Formula>
- java.lang.Object
-
- net.sf.tweety.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 T
getFormula()
Returns the formula of this information object.Signature
getSignature()
Returns the signature of the language of this formula.Agent
getSource()
Returns the source of this information object.java.lang.String
toString()
-
-
-
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:Formula
Returns the signature of the language of this formula.- Specified by:
getSignature
in interfaceFormula
- Returns:
- the signature of the language of this formula.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-