|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetkit.classifiers.aggregators.AggregatorImp
netkit.classifiers.aggregators.AggregatorByValueImp
netkit.classifiers.aggregators.Count
public final class Count
The Count aggregator counts the number of times a specific value of a given attribute is observed in the neighborhood of a node in the graph.
Field Summary |
---|
Fields inherited from class netkit.classifiers.aggregators.AggregatorByValueImp |
---|
attributeValue |
Fields inherited from class netkit.classifiers.aggregators.AggregatorImp |
---|
aggregateCache, attribIdx, attribute, edgeType, name, type |
Constructor Summary | |
---|---|
Count(EdgeType edgeType,
Attribute attribute,
double value)
|
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.AggregatorByValueImp |
---|
getAttributeValue, toString |
Methods inherited from class netkit.classifiers.aggregators.AggregatorImp |
---|
getAttribute, getAttributeIndex, getEdgeType, getName, getNodeInfo, getType, getValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface netkit.classifiers.aggregators.Aggregator |
---|
getAttribute, getEdgeType, getName, getType, getValue |
Constructor Detail |
---|
public Count(EdgeType edgeType, Attribute attribute, double value)
Method Detail |
---|
public double getValue(Node n, Estimate prior)
Aggregator
n
- a Node for which to calculate and/or supply a value.prior
- current priors for unknown neighbor values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |