Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
k-means_step4.cpp File Reference
#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...
 

Function Documentation

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 thrill::api::Generate().

Referenced by main().