Thrill  0.1
k-means_step2.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/sample.hpp>
#include <ostream>
#include <random>
#include <vector>
+ Include dependency graph for k-means_step2.cpp:

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...
 

Function Documentation

◆ main()

int main ( )

Definition at line 98 of file k-means_step2.cpp.

References Process(), and thrill::api::Run().

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  os,
const Point &  p 
)

[Point class]

make ostream-able for Print()

Definition at line 38 of file k-means_step2.cpp.

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  os,
const ClosestCenter &  cc 
)

make ostream-able for Print()

Definition at line 49 of file k-means_step2.cpp.

◆ Process()

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().