| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramGraph
gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramGaussNormGraph
public class DocumentNGramGaussNormGraph
A Document N-gram Graph that uses a Gaussian bell scaling faction to determine weights applied to various distances of neighbouring n-grams.
| Field Summary | |
|---|---|
 EdgeCachedLocator | 
eclLocator
 | 
| Fields inherited from class gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramGraph | 
|---|
CorrelationWindow, DataString, DegradedEdges, MaxSize, MinSize, NGramGraphArray, Normalizer, TextPreprocessor, WordEvaluator | 
| Constructor Summary | |
|---|---|
DocumentNGramGaussNormGraph()
Creates a new instance of INSECTDocumentGraph  | 
|
DocumentNGramGaussNormGraph(int iMinSize,
                            int iMaxSize,
                            int iCorrelationWindow)
Creates a new instance of INSECTDocumentGraph  | 
|
| Method Summary | |
|---|---|
 void | 
createEdgesConnecting(Graph gGraph,
                      java.lang.String sStartNode,
                      java.util.List lOtherNodes,
                      java.util.HashMap hAppearenceHistogram)
Creates an edge in [gGraph] connecting [sBaseNode] to each node in the [lOtherNodes] list of nodes.  | 
 void | 
createGraphs()
Creates the graph of n-grams, for all the levels specified in the MinSize, MaxSize range.  | 
protected  void | 
InitGraphs()
 | 
protected  double | 
ScalingFunction(int iDistance)
A function providing a scaling factor according to the distance between any two n-grams.  | 
| Methods inherited from class gr.demokritos.iit.jinsect.documentModel.representations.DocumentNGramGraph | 
|---|
calcCoexistenceImportance, calcCoexistenceImportance, clone, createWeightedEdgesConnecting, degrade, degredationDegree, deleteItem, getAllNodes, getDataString, getGraphLevel, getGraphLevelByNGramSize, getMaxSize, getMinSize, getWindowSize, intersectGraph, inverseIntersectGraph, isEmpty, length, loadDataStringFromFile, main, mergeGraph, nullify, prune, setDataString, toCooccurenceText | 
| Methods inherited from class java.lang.Object | 
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public EdgeCachedLocator eclLocator
| Constructor Detail | 
|---|
public DocumentNGramGaussNormGraph()
public DocumentNGramGaussNormGraph(int iMinSize,
                                   int iMaxSize,
                                   int iCorrelationWindow)
iMinSize - The minimum n-gram sizeiMaxSize - The maximum n-gram sizeiCorrelationWindow - The standard deviation of the Gaussian scaling function to use when
 determining neighbouring weights.| Method Detail | 
|---|
public void createGraphs()
createGraphs in class DocumentNGramGraph
public void createEdgesConnecting(Graph gGraph,
                                  java.lang.String sStartNode,
                                  java.util.List lOtherNodes,
                                  java.util.HashMap hAppearenceHistogram)
createEdgesConnecting in class DocumentNGramGraphgGraph - The graph to usesStartNode - The node from which all edges beginlOtherNodes - The list of nodes to which sBaseNode is connectedhAppearenceHistogram - The histogram of appearences of the termsprotected double ScalingFunction(int iDistance)
iDistance - The distance between the two n-grams.
protected void InitGraphs()
InitGraphs in class DocumentNGramGraph
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||