|
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>
Include dependency graph for k-means_step4.cpp:Go to the source code of this file.
Functions | |
| int | main () |
| std::ostream & | operator<< (std::ostream &os, const Point &p) |
| make ostream-able for Print() More... | |
| std::ostream & | operator<< (std::ostream &os, const ClosestCenter &cc) |
| make ostream-able for Print() More... | |
| auto | Process (thrill::Context &ctx) |
| our main processing method More... | |
| int main | ( | ) |
Definition at line 127 of file k-means_step4.cpp.
References Process(), and thrill::api::Run().
| std::ostream& operator<< | ( | std::ostream & | os, |
| const Point & | p | ||
| ) |
make ostream-able for Print()
Definition at line 43 of file k-means_step4.cpp.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const ClosestCenter & | cc | ||
| ) |
make ostream-able for Print()
Definition at line 54 of file k-means_step4.cpp.
| auto Process | ( | thrill::Context & | ctx | ) |
our main processing method
[step4 iteration loop]
[step4 iteration loop]
Definition at line 60 of file k-means_step4.cpp.
References DIA< ValueType_, Stack_ >::AllGather(), DIA< ValueType_, Stack_ >::Collapse(), thrill::api::Generate(), DIA< ValueType_, Stack_ >::Print(), and DIA< ValueType_, Stack_ >::Sample().
Referenced by main().