Thrill
0.1
|
#include <thrill/api/all_gather.hpp>
#include <thrill/api/cache.hpp>
#include <thrill/api/generate.hpp>
#include <thrill/api/print.hpp>
#include <thrill/api/reduce_by_key.hpp>
#include <thrill/api/sample.hpp>
#include <ostream>
#include <random>
#include <vector>
Go to the source code of this file.
Functions | |
int | main () |
std::ostream & | operator<< (std::ostream &os, const Point &p) |
[Point class] More... | |
std::ostream & | operator<< (std::ostream &os, const ClosestCenter &cc) |
make ostream-able for Print() More... | |
void | Process (thrill::Context &ctx) |
[ClosestCenter class] More... | |
int main | ( | ) |
Definition at line 133 of file k-means_step3.cpp.
References Process(), and thrill::api::Run().
std::ostream& operator<< | ( | std::ostream & | os, |
const Point & | p | ||
) |
std::ostream& operator<< | ( | std::ostream & | os, |
const ClosestCenter & | cc | ||
) |
make ostream-able for Print()
Definition at line 57 of file k-means_step3.cpp.
void Process | ( | thrill::Context & | ctx | ) |
[ClosestCenter class]
our main processing method
[step3 count 1]
[step3 count 1]
[step3 ReduceByKey]
[step3 ReduceByKey]
[step3 ReduceByKey divide by count]
[step3 ReduceByKey divide by count]
Definition at line 64 of file k-means_step3.cpp.
References thrill::api::Generate().
Referenced by main().