Generated on Wed Apr 29 2015 11:51:41 for GGL-4.1.2 by doxygen 1.8.3.1
Public Types | Static Public Member Functions | Static Protected Attributes
sgm::NSPDK_port Class Reference

Ports NSPDK functionality to SGM. More...

#include <NSPDK_port.hh>

Public Types

typedef nspdk::SVector FeatureVector
 Sparse vector definition that represents the features of a graph. More...
 
typedef std::vector< unsigned > ViewPointList
 List of view points to localize the feature generation. More...
 

Static Public Member Functions

static FeatureVector getFeatures (nspdk::GraphClass &g, const size_t maxDistance, const size_t maxRadius, const ViewPointList &viewPoints=ViewPointList(), const int featureBitSize=30)
 
static std::vector
< NSPDK_port::FeatureVector
getNodeFeatures (nspdk::GraphClass &g, const size_t maxDistance, const size_t maxRadius, const ViewPointList &viewPoints=ViewPointList(), const int featureBitSize=30)
 
static void setGraphFromGraphInterface (const Graph_Interface &iG, nspdk::GraphClass &oG)
 

Static Protected Attributes

static
nspdk::NSPDK_FeatureGenerator 
featureGenerator_nspdk
 The standard NSPDK feature generator. More...
 

Detailed Description

   A utility class that ports the functionalities of the NSPDK graph kernel
   for its application the SGM library.
Author
Martin Mann (c) 2008 http://www.bioinf.uni-freiburg.de/~mmann/

Definition at line 25 of file NSPDK_port.hh.

Member Typedef Documentation

typedef nspdk::SVector sgm::NSPDK_port::FeatureVector

Definition at line 30 of file NSPDK_port.hh.

typedef std::vector< unsigned > sgm::NSPDK_port::ViewPointList

Definition at line 33 of file NSPDK_port.hh.

Member Function Documentation

static FeatureVector sgm::NSPDK_port::getFeatures ( nspdk::GraphClass &  g,
const size_t  maxDistance,
const size_t  maxRadius,
const ViewPointList viewPoints = ViewPointList(),
const int  featureBitSize = 30 
)
static

Computes the feature vector for a given graph

Parameters
gIN the graph that has to be screened for features
maxDistancethe maximal distance between subgraphs to generate features
maxRadiusthe maximal radius between subgraphs to generate features
viewPointsIN optional list of view points to localize the feature generation to the according subgraph and its surrounding
featureBitSizenumber of bits to represent the feature space
Returns
the feature vector describing the graph g
static std::vector<NSPDK_port::FeatureVector> sgm::NSPDK_port::getNodeFeatures ( nspdk::GraphClass &  g,
const size_t  maxDistance,
const size_t  maxRadius,
const ViewPointList viewPoints = ViewPointList(),
const int  featureBitSize = 30 
)
static

Computes the feature vector for each node of a given graph

Parameters
gIN the graph that has to be screened for features
maxDistancethe maximal distance between subgraphs to generate features
maxRadiusthe maximal radius between subgraphs to generate features
viewPointsIN optional list of view points to localize the feature generation to the according subgraph and its surrounding
featureBitSizenumber of bits to represent the feature space
Returns
the feature vector describing the graph g for each node
static void sgm::NSPDK_port::setGraphFromGraphInterface ( const Graph_Interface iG,
nspdk::GraphClass &  oG 
)
static

Initializes an NSPDK graph object from a given Graph_Interface.

Parameters
iGIN the graph to be used for the initialization
oGOUT the EMPTY graph object to be filled

Field Documentation

nspdk::NSPDK_FeatureGenerator sgm::NSPDK_port::featureGenerator_nspdk
staticprotected

Definition at line 39 of file NSPDK_port.hh.


The documentation for this class was generated from the following file: