29.04.2013 Views

TESI DOCTORAL - La Salle

TESI DOCTORAL - La Salle

TESI DOCTORAL - La Salle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.3. Deterministic hierarchical consensus architectures<br />

1. Given the cluster ensemble size l generated upon a set of f mutually crossed diversity<br />

factors, create f! ordered lists corresponding to all the possible permutations of the<br />

diversity factors, each giving rise to a DHCA variant.<br />

2. For each one of the ordered lists, compute the total number of consensus processes<br />

per stage Ki, according to equation (3.13).<br />

4. Measure the time required for executing the consensus function F on c randomly<br />

picked mini-cluster ensembles of sizes |dfi| for i ∈{1,...,f}.<br />

5. Employ the computed parameters of each DHCA variant (i.e. number of stages s =<br />

f, total number of consensus processes s<br />

Ki and the running times of the consensus<br />

i=1<br />

function F) to estimate the running times of the whole hierarchical architecture,<br />

using equations (3.14) or (3.16) depending on whether its fully serial or parallel<br />

version is to be implemented in practice.<br />

Table 3.6: Methodology for estimating the running time of multiple DHCA variants.<br />

first stage of the DHCA is minimized, which is equivalent to minimizing the necessary<br />

computation units for the fully parallel implementation of the DHCA.<br />

If the running time of the serial implementation of the DHCA is now considered, the<br />

total number of consensus to be executed is not the only factor to take into account. In<br />

fact, arranging the diversity factors in decreasing order, while minimizing the total number<br />

of consensus to be executed across the DHCA, brings about a contradictory collateral effect<br />

if the complexity and number of the consensus processes run at each stage are considered.<br />

Indeed, notice that it is in the first DHCA stage where the largest number of consensus<br />

processes is executed (K1 = |df2||df3|), and they have the highest complexity (O (|df1| w ),<br />

where w = {1, 2}), as |df1| ≥|df2| ≥|df3|. Moreover, a single minimum complexity (i.e.<br />

O (|df3| w )) consensus process is conducted at the third stage, as K3 =1.<br />

Thus, as far as the running time of the serial implementation of DHCA is concerned,<br />

there exists an apparent trade-off involving the order of diversity factors, and the number<br />

and complexity of the associated consensus processes. It is important to note that the computationally<br />

optimal solution ultimately depends on the growth rates of the total number<br />

of consensus and of their time complexities with respect to the cardinality of the diversity<br />

factors (|dfi|, fori = {1,...,f}). However, while the latter grow according to a linear or<br />

quadratic law, the former follows a usually steeper multiplicative growth rate.<br />

Similarly to what has been discussed in section 3.2, table 3.6 presents a methodology<br />

for estimating the running times of the f! DHCA variants, which allows comparing them<br />

and, as a consequence, predicting which is the most computationally efficient.<br />

74

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

Saved successfully!

Ooh no, something went wrong!