|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.extensions.textual.IE.representation.info.WeightedRelation
public class WeightedRelation
This class represents a weighted relation between two tokens.
First version developed at: Robert Gordon University - Aberdeen & Facultad Informática, Universidad Complutense de Madrid (GAIA)
Constructor Summary | |
---|---|
WeightedRelation(Token origin,
Token destination,
double weight)
Constructor |
Method Summary | |
---|---|
Token |
getDestination()
Returns the destination token. |
Token |
getOrigin()
Returns the origin token. |
double |
getWeight()
Returns the relation weight. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WeightedRelation(Token origin, Token destination, double weight)
origin
- Origin Tokendestination
- Destination Tokenweight
- Relation weight [0..1]Method Detail |
---|
public Token getOrigin()
public Token getDestination()
public double getWeight()
public java.lang.String toString()
toString
in class java.lang.Object
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |