Functions

sst/elements/genericProc/programs/MTGL/test/test_bidirectional_graph.cpp File Reference

Tests the bidirectional version of static_graph_adapter. More...

#include "mtgl_test.hpp"
#include <mtgl/util.hpp>
#include <mtgl/metrics.hpp>
#include <mtgl/static_graph_adapter.hpp>

Functions

template<typename graph_adapter >
void run_without_high_low (graph_adapter &ga)
template<>
void run_without_high_low< static_graph_adapter< bidirectionalS > > (static_graph_adapter< bidirectionalS > &ga)
template<typename graph_adapter >
void get_high_low (graph_adapter &ga, int &n_hd, int &n_ld, int *&hd, int *&ld, const int degreeThreshold)
template<>
void get_high_low< static_graph_adapter< bidirectionalS > > (static_graph_adapter< bidirectionalS > &ga, int &n_hd, int &n_ld, int *&hd, int *&ld, const int degreeThreshold)
template<typename graph_adapter >
void get_in_high_low (graph_adapter &ga, int &n_hd, int &n_ld, int *&hd, int *&ld, const int degreeThreshold)
template<typename graph_adapter >
void run_with_high_low (graph_adapter &ga, const int threshold, int n_hd, int *&hd, int n_ld, int *&ld, int in_n_hd, int *&in_hd, int in_n_ld, int *&in_ld)
template<>
void run_with_high_low< static_graph_adapter< bidirectionalS > > (static_graph_adapter< bidirectionalS > &ga, const int threshold, int n_hd, int *&hd, int n_ld, int *&ld, int in_n_hd, int *&in_hd, int in_n_ld, int *&in_ld)
template<typename graph_adapter >
void run_algorithm (graph_adapter &ga, int n_hd, int *&hd, int n_ld, int *&ld, int in_n_hd, int *&in_hd, int in_n_ld, int *&in_ld, int threshold)
int main (int argc, char *argv[])

Detailed Description

Tests the bidirectional version of static_graph_adapter.

Author:
Brad Mancke
Date:
3/4/2008