GraphLab Project

graphlab.plugins.reports.basicreports
Class NumOfVerticesWithDegK

java.lang.Object
  extended by graphlab.plugins.reports.basicreports.NumOfVerticesWithDegK
All Implemented Interfaces:
BasicExtension, Extension, Parametrizable, GraphReportExtension, GraphReportInterface

public class NumOfVerticesWithDegK
extends java.lang.Object
implements GraphReportExtension, Parametrizable

Author:
azin azadi

Field Summary
static java.lang.Integer k
           
 
Constructor Summary
NumOfVerticesWithDegK()
           
 
Method Summary
 java.lang.Object calculate(GraphData gd)
           
 java.lang.String checkParameters()
          checks the parameters and return an error string if the parameter values are invalid, otherwise it returns null, also if some other fields should be set after setting the parameters you can do it in this method
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

k

public static java.lang.Integer k
Constructor Detail

NumOfVerticesWithDegK

public NumOfVerticesWithDegK()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Extension

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Extension

calculate

public java.lang.Object calculate(GraphData gd)
Specified by:
calculate in interface GraphReportInterface

checkParameters

public java.lang.String checkParameters()
Description copied from interface: Parametrizable
checks the parameters and return an error string if the parameter values are invalid, otherwise it returns null, also if some other fields should be set after setting the parameters you can do it in this method

Specified by:
checkParameters in interface Parametrizable

GraphLab Project