Data Structures | Defines | Functions

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

#include <cstdlib>
#include <mtgl/static_graph_adapter.hpp>
#include <mtgl/quicksort.hpp>
#include <mtgl/generate_rmat_graph.hpp>
#include <mtgl/breadth_first_search_mtgl.hpp>
#include <mtgl/visit_adj.hpp>
#include <mtgl/metrics.hpp>

Data Structures

struct  rank_info

Functions

template<typename graph_adapter >
void compute_acc (graph_adapter &g, rank_info *rinfo)
template<typename graph_adapter >
void compute_in_degree (graph_adapter &g, rank_info *rinfo)
 Manual traversal using an MTGL adapter to access vertex and edge information.
int main (int argc, char *argv[])

Detailed Description

Author:
Jon Berry (jberry@sandia.gov)
Date:
2/8/2008

Function Documentation

template<typename graph_adapter >
void compute_in_degree ( graph_adapter &  g,
rank_info rinfo 
)

Manual traversal using an MTGL adapter to access vertex and edge information.