Package de.swa.gc
Class SemanticGraphCode
java.lang.Object
de.swa.gc.GraphCode
de.swa.gc.SemanticGraphCode
- All Implemented Interfaces:
java.io.Serializable
public class SemanticGraphCode extends GraphCode
Semantic Graph Code Extension - WORK IN PROGRESS
- Author:
- stefan_wagenpfeil
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SemanticGraphCode(GraphCode gc)
-
Method Summary
Modifier and Type Method Description java.util.Vector<java.lang.String>
getDictionary()
the Graph Code Dictionary contains a list of feature vocabulary termsint
getEdgeValueForTerms(java.lang.String term1, java.lang.String term2)
returns the matrix value for two feature vocabulary termsint
getValue(int x, int y)
returns the matrix value on position x and yMethods inherited from class de.swa.gc.GraphCode
addGraphCode, getCollectionElements, getRelationships, isCollection, setDictionary, setValue, setValueForTerms, toString
-
Constructor Details
-
Method Details
-
getDictionary
public java.util.Vector<java.lang.String> getDictionary()Description copied from class:GraphCode
the Graph Code Dictionary contains a list of feature vocabulary terms- Overrides:
getDictionary
in classGraphCode
-
getValue
public int getValue(int x, int y)Description copied from class:GraphCode
returns the matrix value on position x and y -
getEdgeValueForTerms
public int getEdgeValueForTerms(java.lang.String term1, java.lang.String term2)Description copied from class:GraphCode
returns the matrix value for two feature vocabulary terms- Overrides:
getEdgeValueForTerms
in classGraphCode
-