Thrill  0.1
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.

Typedefs

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

Functions

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

◆ Edge

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

Definition at line 32 of file triangles_run.cpp.

◆ Node

using Node = size_t

Definition at line 31 of file triangles_run.cpp.

Function Documentation

◆ CountTrianglesGenerated()

static size_t CountTrianglesGenerated ( api::Context ctx,
const ZipfGraphGen base_graph_gen,
const size_t &  num_vertices 
)
static

◆ CountTrianglesPerLine()

static size_t CountTrianglesPerLine ( api::Context ctx,
const std::vector< std::string > &  input_path 
)
static

Definition at line 34 of file triangles_run.cpp.

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

Referenced by main().

◆ main()