12.07.2015 Views

Scientific Writing for Computer Science Students - FTP Directory ...

Scientific Writing for Computer Science Students - FTP Directory ...

Scientific Writing for Computer Science Students - FTP Directory ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

110 CHAPTER 6. L A TEXINSTRUCTIONS AND EXERCISESAlg. 4 PartitioningClustering(S, n, k)Input: Data set S, n = |S|, number of clusters kOutput: Centroids c 1 , ..., c k1 begin2 Select randomly k data points p 1 , ..., p k ∈ S3 <strong>for</strong> all p i // Initialization4 begin5 c i = p i6 C i = {p i }7 end8 while (not converged) // Update clusters9 begin10 <strong>for</strong> all p i ∈ S11 begin12 Search c j such that d(p i , c j ) is minimal13 C j = C j ∪ {p i }14 end15 Update centroids c i16 end17 end6.11 Special latex notes6.11.1 No numbers to sections or sectionsIf you do not want to output section or section numbers (like in this document)use ’*’ after the command, e.g. \subsection*{title}. This is notrecommended in master thesis, but you can maybe need it in some specialcases.6.11.2 Other symbols or item names to listsIf you want to use other symbols that bullets in an itemize list, you candefine new symbols or item names in \itemcommand like \item[a] and\item[Step1] . See example:\begin{itemize}\item[Step 1] $x=x+1$\item[Step 2] $y=x^2+1$

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!