4 research outputs found

    Testing of sequences by simulation

    Get PDF
    Let ξ\xi be a random integer vector, having uniform distribution P{ξ=(i1,i2,...,in)=1/nn} for 1≤i1,i2,...,in≤n.\mathbf{P} \{\xi = (i_1,i_2,...,i_n) = 1/n^n \} \ \hbox{for} \ 1 \leq i_1,i_2,...,i_n\leq n. A realization (i1,i2,...,in)(i_1,i_2,...,i_n) of ξ\xi is called \textit{good}, if its elements are different. We present algorithms \textsc{Linear}, \textsc{Backward}, \textsc{Forward}, \textsc{Tree}, \textsc{Garbage}, \textsc{Bucket} which decide whether a given realization is good. We analyse the number of comparisons and running time of these algorithms using simulation gathering data on all possible inputs for small values of nn and generating random inputs for large values of nn

    Testing of random matrices

    Get PDF
    Let nn be a positive integer and X=[xij]1≤i,j≤nX = [x_{ij}]_{1 \leq i, j \leq n} be an n×nn \times n\linebreak \noindent sized matrix of independent random variables having joint uniform distribution \hbox{Pr} {x_{ij} = k \hbox{for} 1 \leq k \leq n} = \frac{1}{n} \quad (1 \leq i, j \leq n) \koz. A realization M=[mij]\mathcal{M} = [m_{ij}] of XX is called \textit{good}, if its each row and each column contains a permutation of the numbers 1,2,...,n1, 2,..., n. We present and analyse four typical algorithms which decide whether a given realization is good

    Párhuzamos algoritmusok

    Get PDF
    Ez az elektronikus tankönyv az ELTE Informatikai Kara támogatásával, a 2010 évi kari jegyzetpályázat keretében készült
    corecore