T - The type of the inner formula.public class InformationObject<T extends net.sf.tweety.commons.Formula> extends Object implements net.sf.tweety.commons.Formula
| Constructor and Description |
|---|
InformationObject(T formula,
net.sf.tweety.agents.Agent source)
Creates a new information object for the given formula
and the given source.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getFormula()
Returns the formula of this information object.
|
net.sf.tweety.commons.Signature |
getSignature() |
net.sf.tweety.agents.Agent |
getSource()
Returns the source of this information object.
|
String |
toString() |
public InformationObject(T formula, net.sf.tweety.agents.Agent source)
formula - some formula.source - some agent.public net.sf.tweety.agents.Agent getSource()
public T getFormula()
public net.sf.tweety.commons.Signature getSignature()
getSignature in interface net.sf.tweety.commons.FormulaCopyright © 2018. All rights reserved.