netkit.graph
Class AbstractAttributeMetaInfo

java.lang.Object
  extended by netkit.graph.AbstractAttributeMetaInfo
Direct Known Subclasses:
AttributeCategoricalMetaInfo, AttributeMetaInfo

public abstract class AbstractAttributeMetaInfo
extends java.lang.Object

This abstract class is used to persist certain information across an entire Graph related to a particular Attribute.

Author:
Kaveh R. Ghazi
See Also:
Attribute, Graph, Node

Field Summary
protected  Graph graph
           
 
Method Summary
 java.lang.String getFieldName()
          Get the field name for the Attribute used for this object.
 double getMax()
          Get the maximum value this Graph has for this field.
 double getMean()
          Get the mean value this Graph has for this field.
 double getMedian()
          Get the median value this Graph has for this field.
 double getMin()
          Get the minimum value this Graph has for this field.
 java.lang.String getNodeTypeName()
          Get the nodeTypeName for the Attributes container used for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

graph

protected final Graph graph
Method Detail

getNodeTypeName

public java.lang.String getNodeTypeName()
Get the nodeTypeName for the Attributes container used for this object.

Returns:
a String representing the Attributes container used for this object.

getFieldName

public java.lang.String getFieldName()
Get the field name for the Attribute used for this object.

Returns:
a String representing the field name for the Attribute used for this object.

getMax

public double getMax()
Get the maximum value this Graph has for this field.

Returns:
the maximum value this Graph has for this field.

getMin

public double getMin()
Get the minimum value this Graph has for this field.

Returns:
the minimum value this Graph has for this field.

getMean

public double getMean()
Get the mean value this Graph has for this field.

Returns:
the mean value this Graph has for this field.

getMedian

public double getMedian()
Get the median value this Graph has for this field.

Returns:
the median value this Graph has for this field.