Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
random_text_writer.cpp File Reference
#include <examples/word_count/random_text_writer.hpp>
#include <thrill/api/generate.hpp>
#include <thrill/api/write_lines.hpp>
#include <tlx/cmdline_parser.hpp>
#include <fstream>
#include <iostream>
#include <random>
#include <string>
#include <vector>
+ Include dependency graph for random_text_writer.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 
static void Parallel (api::Context &ctx, const std::string &output)
 
static int Sequential (std::ostream &os)
 

Variables

unsigned max_words_key = 10
 
unsigned max_words_value = 100
 
unsigned min_words_key = 5
 
unsigned min_words_value = 20
 
unsigned range_words_key
 
unsigned range_words_value
 
unsigned seed = 123456
 
bool tab_separator = false
 
uint64_t totalbytes
 

Function Documentation

static int Sequential ( std::ostream &  os)
static

Variable Documentation

unsigned max_words_key = 10

Definition at line 29 of file random_text_writer.cpp.

Referenced by main().

unsigned max_words_value = 100

Definition at line 30 of file random_text_writer.cpp.

Referenced by main().

unsigned min_words_key = 5

Definition at line 29 of file random_text_writer.cpp.

Referenced by main(), Parallel(), and Sequential().

unsigned min_words_value = 20

Definition at line 30 of file random_text_writer.cpp.

Referenced by main(), Parallel(), and Sequential().

unsigned range_words_key

Definition at line 37 of file random_text_writer.cpp.

Referenced by main(), Parallel(), and Sequential().

unsigned range_words_value

Definition at line 37 of file random_text_writer.cpp.

Referenced by main(), Parallel(), and Sequential().

bool tab_separator = false

Definition at line 35 of file random_text_writer.cpp.

Referenced by main(), Parallel(), and Sequential().

uint64_t totalbytes

Definition at line 34 of file random_text_writer.cpp.

Referenced by main(), Parallel(), and Sequential().