Ports NSPDK functionality to SGM.
More...
#include <NSPDK_port.hh>
|
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...
|
|
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.
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
-
g | IN the graph that has to be screened for features |
maxDistance | the maximal distance between subgraphs to generate features |
maxRadius | the maximal radius between subgraphs to generate features |
viewPoints | IN optional list of view points to localize the feature generation to the according subgraph and its surrounding |
featureBitSize | number of bits to represent the feature space |
- Returns
- the feature vector describing the graph g
Computes the feature vector for each node of a given graph
- Parameters
-
g | IN the graph that has to be screened for features |
maxDistance | the maximal distance between subgraphs to generate features |
maxRadius | the maximal radius between subgraphs to generate features |
viewPoints | IN optional list of view points to localize the feature generation to the according subgraph and its surrounding |
featureBitSize | number 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
-
iG | IN the graph to be used for the initialization |
oG | OUT the EMPTY graph object to be filled |
nspdk::NSPDK_FeatureGenerator sgm::NSPDK_port::featureGenerator_nspdk |
|
staticprotected |
The documentation for this class was generated from the following file: