haskell-igraph-0.8.0: igraph/include/prpack/prpack_preprocessed_schur_graph.h
#ifndef PRPACK_PREPROCESSED_SCHUR_GRAPH
#define PRPACK_PREPROCESSED_SCHUR_GRAPH
#include "prpack_preprocessed_graph.h"
#include "prpack_base_graph.h"
namespace prpack {
class prpack_preprocessed_schur_graph : public prpack_preprocessed_graph {
private:
// helper methods
void initialize();
void initialize_weighted(const prpack_base_graph* bg);
void initialize_unweighted(const prpack_base_graph* bg);
public:
// instance variables
int num_no_in_vs;
int num_no_out_vs;
int* heads;
int* tails;
double* vals;
double* ii;
double* num_outlinks;
int* encoding;
int* decoding;
// constructors
prpack_preprocessed_schur_graph(const prpack_base_graph* bg);
// destructor
~prpack_preprocessed_schur_graph();
};
};
#endif