netkit.classifiers.aggregators
Interface AggregatorByValue

All Superinterfaces:
Aggregator
All Known Implementing Classes:
AggregatorByValueImp, Count, Exist, Ratio

public interface AggregatorByValue
extends Aggregator

The AggregatorByValue extends a normal aggregator by aggregating on a specific given attribute value (e.g., how often did 'aquavit' appear in the aggregation neighborhood).

Author:
Sofus A. Macskassy (sofmac@gmail.com)
See Also:
Attribute, Attributes, Node

Method Summary
 double getAttributeValue()
          Gets the value value that is being aggregated on (e.g., how often did 'aquavit' appear would return the double value representing 'aquavit' in an AttributeCategorical)
 
Methods inherited from interface netkit.classifiers.aggregators.Aggregator
getAttribute, getEdgeType, getName, getType, getValue, getValue
 

Method Detail

getAttributeValue

double getAttributeValue()
Gets the value value that is being aggregated on (e.g., how often did 'aquavit' appear would return the double value representing 'aquavit' in an AttributeCategorical)

Returns:
the value representing the attribute value being aggregated.