Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
triangles_run.cpp File Reference
#include <examples/page_rank/zipf_graph_gen.hpp>
#include <examples/triangles/triangles.hpp>
#include <thrill/api/cache.hpp>
#include <thrill/api/generate.hpp>
#include <thrill/api/read_lines.hpp>
#include <thrill/api/size.hpp>
#include <thrill/common/logger.hpp>
#include <tlx/cmdline_parser.hpp>
#include <algorithm>
#include <cmath>
#include <functional>
#include <string>
#include <utility>
#include <vector>
+ Include dependency graph for triangles_run.cpp:

Go to the source code of this file.


using Edge = std::pair< Node, Node >
using Node = size_t


static size_t CountTrianglesGenerated (api::Context &ctx, const ZipfGraphGen &base_graph_gen, const size_t &num_vertices)
static size_t CountTrianglesPerLine (api::Context &ctx, const std::vector< std::string > &input_path)
int main (int argc, char *argv[])

Typedef Documentation

using Edge = std::pair<Node, Node>

Definition at line 32 of file triangles_run.cpp.

using Node = size_t

Definition at line 31 of file triangles_run.cpp.

Function Documentation

static size_t CountTrianglesGenerated ( api::Context ctx,
const ZipfGraphGen base_graph_gen,
const size_t &  num_vertices 
static size_t CountTrianglesPerLine ( api::Context ctx,
const std::vector< std::string > &  input_path 

Definition at line 34 of file triangles_run.cpp.

References examples::triangles::CountTriangles(), and thrill::api::ReadLines().

Referenced by main().