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/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 98 of file k-means_step2.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 49 of file k-means_step2.cpp.
void Process | ( | thrill::Context & | ctx | ) |
[ClosestCenter class]
[step2 sample]
[step2 sample]
[step2 classify]
[step2 classify]
Definition at line 54 of file k-means_step2.cpp.
References thrill::api::Generate().
Referenced by main().