netkit.graph.edgecreator
Class GaussianNumericEdgeCreator

java.lang.Object
  extended by netkit.graph.edgecreator.EdgeCreatorImp
      extended by netkit.graph.edgecreator.BaseNumericEdgeCreator
          extended by netkit.graph.edgecreator.GaussianNumericEdgeCreator
All Implemented Interfaces:
EdgeCreator

public class GaussianNumericEdgeCreator
extends BaseNumericEdgeCreator


Nested Class Summary
 
Nested classes/interfaces inherited from class netkit.graph.edgecreator.EdgeCreatorImp
EdgeCreatorImp.NbrEntry
 
Field Summary
 
Fields inherited from class netkit.graph.edgecreator.BaseNumericEdgeCreator
nat, nodes
 
Fields inherited from class netkit.graph.edgecreator.EdgeCreatorImp
attrib, attributeIndex, attributeValue, edges, edgetype, gm, graph, logger, maxEdges, nodeType, split, trainAssortativity, trueAssortativity
 
Constructor Summary
GaussianNumericEdgeCreator()
           
 
Method Summary
 void buildModel(DataSplit split)
          Build a model of edge creation based on the data split.
 java.lang.String getName()
          The name of this edge-creator
protected  double getWeightFast(Node src, Node dest)
           
 
Methods inherited from class netkit.graph.edgecreator.BaseNumericEdgeCreator
buildEdges, buildNodeArray, canHandle, getEdgesToNearestNeighbors, getValue, getWeight
 
Methods inherited from class netkit.graph.edgecreator.EdgeCreatorImp
addCliqueToAssortMatrix, canHandleAttributeValue, createEdges, getAssortativity, getAssortativityMatrix, getAttributeIndex, getAttributeValue, getEdgeType, getLabeledNodes, getMaxEdges, initialize, isByAttribute, isByAttributeValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GaussianNumericEdgeCreator

public GaussianNumericEdgeCreator()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: EdgeCreator
The name of this edge-creator

Specified by:
getName in interface EdgeCreator
Overrides:
getName in class BaseNumericEdgeCreator

getWeightFast

protected double getWeightFast(Node src,
                               Node dest)
Overrides:
getWeightFast in class BaseNumericEdgeCreator

buildModel

public void buildModel(DataSplit split)
Description copied from interface: EdgeCreator
Build a model of edge creation based on the data split. Must be called before calling any analytic methods.

Specified by:
buildModel in interface EdgeCreator
Overrides:
buildModel in class EdgeCreatorImp