Grappa  r3821, hash 22cd626d567a91ead5b23302066d1e9469f45c66
Grappa::TupleGraph Class Reference

#include <TupleGraph.hpp>


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 42 of file TupleGraph.hpp.

Constructor & Destructor Documentation

Grappa::TupleGraph::TupleGraph ( )

Definition at line 72 of file TupleGraph.hpp.

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

Definition at line 78 of file TupleGraph.hpp.

Grappa::TupleGraph::TupleGraph ( int64_t  nedge)

Definition at line 92 of file TupleGraph.hpp.

Member Function Documentation

void Grappa::TupleGraph::destroy ( )

Definition at line 69 of file TupleGraph.hpp.

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

Use Graph500 Kronecker generator (.

See also

Definition at line 42 of file KroneckerGenerator.cpp.

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

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

Definition at line 691 of file TupleGraph.cpp.

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

Definition at line 80 of file TupleGraph.hpp.

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

save a TupleGraph to a file

Definition at line 704 of file TupleGraph.cpp.

Member Data Documentation

GlobalAddress<Edge> Grappa::TupleGraph::edges

Definition at line 59 of file TupleGraph.hpp.

int64_t Grappa::TupleGraph::nedge

Definition at line 60 of file TupleGraph.hpp.

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