|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleila.patterns.StoredBridge
public final class StoredBridge
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).
StoredBridge.java stores a Bridge together with the set of StoredPatterns that use it. This class uses static variables!
Field Summary | |
---|---|
Bridge |
bridge
Holds the Bridge itself |
static int |
bridgeCounter
Counts all Bridges |
int |
id
Identifies this Bridge |
SVMModel |
model
Stores the SVMModel for this StoredBridge (used by SVMClassifier) |
double |
sum
Stores sum of labels of this bridge |
java.util.List<StoredLinkagePattern> |
users
Holds all stored patterns that use this Bridge |
Constructor Summary | |
---|---|
StoredBridge(Bridge b,
LinkagePattern f)
Constructs a StoredBridge, compresses the Bridge's Links |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Two StoredBridges are equal if their bridges are equal |
int |
hashCode()
Returns a hashCode for this Bridge |
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 static int bridgeCounter
public int id
public Bridge bridge
public java.util.List<StoredLinkagePattern> users
public double sum
public SVMModel model
Constructor Detail |
---|
public StoredBridge(Bridge b, LinkagePattern f)
Method Detail |
---|
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |