Grappa  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Grappa::TupleGraph Class Reference

#include <TupleGraph.hpp>

Classes

struct  Edge
 

Public Member Functions

void destroy ()
 
 TupleGraph ()
 
 TupleGraph (const TupleGraph &tg)
 
TupleGraphoperator= (const TupleGraph &tg)
 
void save (std::string path, std::string format)
 save a TupleGraph to a file More...
 

Static Public Member Functions

static TupleGraph Kronecker (int scale, int64_t desired_nedge, uint64_t seed1, uint64_t seed2)
 Use Graph500 Kronecker generator (. More...
 
static TupleGraph Load (std::string path, std::string format)
 TupleGraph constructor that loads from a file, dispatching on file format. More...
 

Public Attributes

GlobalAddress< Edgeedges
 
int64_t nedge
 

Protected Member Functions

 TupleGraph (int64_t nedge)
 

Detailed Description

Definition at line 31 of file TupleGraph.hpp.

Constructor & Destructor Documentation

Grappa::TupleGraph::TupleGraph ( )
inline

Definition at line 62 of file TupleGraph.hpp.

Grappa::TupleGraph::TupleGraph ( const TupleGraph tg)
inline

Definition at line 68 of file TupleGraph.hpp.

Grappa::TupleGraph::TupleGraph ( int64_t  nedge)
inlineprotected

Definition at line 82 of file TupleGraph.hpp.

Member Function Documentation

void Grappa::TupleGraph::destroy ( )
inline

Definition at line 59 of file TupleGraph.hpp.

TupleGraph Grappa::TupleGraph::Kronecker ( int  scale,
int64_t  desired_nedge,
uint64_t  seed1,
uint64_t  seed2 
)
static

Use Graph500 Kronecker generator (.

See also
graph/KroneckerGenerator.cpp)

Definition at line 31 of file KroneckerGenerator.cpp.

TupleGraph Grappa::TupleGraph::Load ( std::string  path,
std::string  format 
)
static

TupleGraph constructor that loads from a file, dispatching on file format.

Definition at line 680 of file TupleGraph.cpp.

TupleGraph& Grappa::TupleGraph::operator= ( const TupleGraph tg)
inline

Definition at line 70 of file TupleGraph.hpp.

void Grappa::TupleGraph::save ( std::string  path,
std::string  format 
)

save a TupleGraph to a file

Definition at line 693 of file TupleGraph.cpp.

Member Data Documentation

GlobalAddress<Edge> Grappa::TupleGraph::edges

Definition at line 49 of file TupleGraph.hpp.

int64_t Grappa::TupleGraph::nedge

Definition at line 50 of file TupleGraph.hpp.


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