gr.demokritos.iit.jinsect.indexing
Class NamedDocumentNGramGraph

java.lang.Object
  extended by gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramGraph
      extended by gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramSymWinGraph
          extended by 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
           
 
Fields inherited from class gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramSymWinGraph
eclLocator
 
Fields inherited from class gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramGraph
CorrelationWindow, DataString, DegradedEdges, MaxSize, MinSize, NGramGraphArray, Normalizer, TextPreprocessor, WordEvaluator
 
Constructor Summary
NamedDocumentNGramGraph()
           
 
Method Summary
 DocumentNGramGraph allNotIn(DocumentNGramGraph dgOtherGraph)
          Returns all edges not existent in another graph.
 java.lang.Object clone()
           
 java.lang.String getName()
          Returns the name of the given object.
 int hashCode()
          The hash code of the object is the hashcode of its class name, followed by the object's name.
 void setName(java.lang.String sNewName)
           
 java.lang.String toString()
           
 
Methods inherited from class gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramSymWinGraph
createGraphs, createSymEdgesConnecting, main
 
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
 

Field Detail

Name

protected java.lang.String Name
Constructor Detail

NamedDocumentNGramGraph

public NamedDocumentNGramGraph()
Method Detail

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