|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object leila.patterns.LinkagePattern
public class LinkagePattern
This class is part of LEILA (http://mpii.de/yago-naga/leila). It is licensed under the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0) by the author Fabian M. Suchanek (http://suchanek.name).
LinkagePattern.java epresents a pattern. This includes the bridge, the bases and a label. A LinkagePattern is merely a subgraph of the Linkage. This is a Wrapper Class, i.e. no deep copies are made.
Field Summary | |
---|---|
LinkageWord[] |
basis
The two basis words |
Bridge |
bridge
The bridge |
double |
label
The label (confidence) of this LinkagePattern |
int |
sourceId
Identifies the source of this pattern |
Constructor Summary | |
---|---|
LinkagePattern(LinkageWord f,
java.util.List<Link> l,
LinkageWord s,
int sourceId)
Constructs a LinkagePattern from two basis words and a bridge |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Two FeatureObjects are equal if their bases and bridges coincide |
int |
hashCode()
returns the hashCode |
java.lang.String |
toString()
Returns a String representation |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public double label
public LinkageWord[] basis
public Bridge bridge
public int sourceId
Constructor Detail |
---|
public LinkagePattern(LinkageWord f, java.util.List<Link> l, LinkageWord s, int sourceId)
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |