|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcreek.representation.inference.Explanation
Represents an explanation between two entities. This type of explanation is a set of linked relations.
Method Summary | |
void |
add(Relation r)
Adds a relation to the end of the exlanation chain. |
boolean |
contains(Entity ent)
|
boolean |
contains(Relation rel)
|
double |
getStrength()
Returns the strength of this particular explanation. |
Relation |
relationAt(int i)
|
int |
size()
|
java.lang.String |
text()
Returns a natural language version of this explanation. |
java.lang.String |
toString()
|
SubModel |
toSubModel()
Returns a submodel containing all relations and entities in this explanation. |
static SubModel |
toSubModel(Explanation[] explanations)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public double getStrength()
public java.lang.String toString()
public SubModel toSubModel()
public boolean contains(Relation rel)
public boolean contains(Entity ent)
public static SubModel toSubModel(Explanation[] explanations)
public void add(Relation r)
public java.lang.String text()
public int size()
public Relation relationAt(int i)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |