| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectemolib.classifier.machinelearning.ARNReduced.GraphElement
public class ARNReduced.GraphElement
Inner class representing an element of the graph.
| Constructor Summary | |
|---|---|
| ARNReduced.GraphElement()Constructor. | |
| Method Summary | |
|---|---|
|  void | addOneCount()Method to add one count. | 
|  ARNReduced.GraphElement | cloneElement()Function to clone this element. | 
|  java.lang.String | getLeftTerm()Method to get the left term of this link. | 
|  java.lang.String | getRightTerm()Method to get the right term of this link. | 
|  java.lang.String | getTerm()Method to get the term of this node. | 
|  int | getTermFrequency()Function to retrieve the number of counts. | 
|  double | getUtilityMeasure()Function to retrieve the utility measure. | 
|  float | getWeighedMeasure()Function to retrieve the weighed measure. | 
|  boolean | isLink()Function to see if this graph element is a link. | 
|  boolean | isNode()Function to see if this graph element is a node. | 
|  void | setAsLink()Method to set this graph element as a link. | 
|  void | setAsNode()Method to set this graph element as a node. | 
|  void | setLeftTerm(java.lang.String theTerm)Method to set the left term of this link. | 
|  void | setRightTerm(java.lang.String theTerm)Method to set the right term of this link. | 
|  void | setTerm(java.lang.String theTerm)Method to set the term of this node. | 
|  void | setTermFrequency(int tf)Method to set the number of counts. | 
|  void | setUtilityMeasure(double um)Method to set the utility measure. | 
|  void | setWeighedMeasure(float wm)Method to set the weighed measure. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ARNReduced.GraphElement()
| Method Detail | 
|---|
public void setUtilityMeasure(double um)
um - The value of the utility measure.public double getUtilityMeasure()
public void setWeighedMeasure(float wm)
wm - The value of the weighed measure.public float getWeighedMeasure()
public void setAsNode()
public void setAsLink()
public boolean isNode()
public boolean isLink()
public void setTerm(java.lang.String theTerm)
theTerm - The term to set.public void setLeftTerm(java.lang.String theTerm)
theTerm - The term to set.public void setRightTerm(java.lang.String theTerm)
theTerm - The term to set.public java.lang.String getTerm()
public java.lang.String getLeftTerm()
public java.lang.String getRightTerm()
public void addOneCount()
public void setTermFrequency(int tf)
tf - The term frequency to set.public int getTermFrequency()
public ARNReduced.GraphElement cloneElement()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||