netkit.classifiers.aggregators
Class Min

java.lang.Object
  extended by netkit.classifiers.aggregators.AggregatorImp
      extended by netkit.classifiers.aggregators.Min
All Implemented Interfaces:
Aggregator

public final class Min
extends AggregatorImp

The Min aggregator returns the minimum value observed for a continuous attribute in the neighborhood of a node in the graph.

Author:
Sofus A. Macskassy (sofmac@gmail.com)

Field Summary
 
Fields inherited from class netkit.classifiers.aggregators.AggregatorImp
aggregateCache, attribIdx, attribute, edgeType, name, type
 
Constructor Summary
Min(EdgeType edgeType, Attribute attribute)
           
 
Method Summary
 double getValue(Node n, Estimate prior)
          Gets the value stored in this object for the supplied Node.
 
Methods inherited from class netkit.classifiers.aggregators.AggregatorImp
getAttribute, getAttributeIndex, getEdgeType, getName, getNodeInfo, getType, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Min

public Min(EdgeType edgeType,
           Attribute attribute)
Method Detail

getValue

public double getValue(Node n,
                       Estimate prior)
Description copied from interface: Aggregator
Gets the value stored in this object for the supplied Node.

Parameters:
n - a Node for which to calculate and/or supply a value.
prior - current priors for unknown neighbor values.
Returns:
the value stored in this object for the supplied Node.