gr.demokritos.iit.jinsect.indexing
Class NamedDocumentNGramGraph
java.lang.Object
gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramGraph
gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramSymWinGraph
gr.demokritos.iit.jinsect.indexing.NamedDocumentNGramGraph
- All Implemented Interfaces:
- IMergeable<DocumentNGramGraph>, INamed, java.io.Serializable, java.lang.Cloneable
public class NamedDocumentNGramGraph
- extends DocumentNGramSymWinGraph
- implements INamed
A named graph.
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
Name
|
Methods inherited from class gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramGraph |
calcCoexistenceImportance, calcCoexistenceImportance, createEdgesConnecting, createWeightedEdgesConnecting, degrade, degredationDegree, deleteItem, getAllNodes, getDataString, getGraphLevel, getGraphLevelByNGramSize, getMaxSize, getMinSize, getWindowSize, InitGraphs, intersectGraph, inverseIntersectGraph, isEmpty, length, loadDataStringFromFile, merge, mergeGraph, nullify, prune, setDataString, toCooccurenceText |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Name
protected java.lang.String Name
NamedDocumentNGramGraph
public NamedDocumentNGramGraph()
getName
public java.lang.String getName()
- Description copied from interface:
INamed
- Returns the name of the given object.
- Specified by:
getName
in interface INamed
- Returns:
- A string indicating the name of the object.
setName
public void setName(java.lang.String sNewName)
hashCode
public int hashCode()
- The hash code of the object is the hashcode of its class name, followed
by the object's name.
- Overrides:
hashCode
in class java.lang.Object
allNotIn
public DocumentNGramGraph allNotIn(DocumentNGramGraph dgOtherGraph)
- Description copied from class:
DocumentNGramGraph
- Returns all edges not existent in another graph.
- Overrides:
allNotIn
in class DocumentNGramGraph
- Parameters:
dgOtherGraph
- The graph to use for intersection and difference.
- Returns:
- A DocumentNGramGraph containing all edges from this graph not existing in the
other given graph (edge distros are not used).
The edge distributions are kept from this graphs.
clone
public java.lang.Object clone()
- Overrides:
clone
in class DocumentNGramGraph
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object