29.04.2013 Views

TESI DOCTORAL - La Salle

TESI DOCTORAL - La Salle

TESI DOCTORAL - La Salle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Chapter 3. Hierarchical consensus architectures<br />

Notice that, as opposed to what was observed in random HCA, the distinct DHCA<br />

variants do not differ in their number of stages (which is, in all cases, equal to the number<br />

of diversity factors, i.e. s = f), but in the time complexity of each stage of the architecture.<br />

Thus, in order to determine which is the computationally optimal DHCA variant, it is<br />

necessary to analyze the dependence between the ordering of the diversity factors and the<br />

total number of consensus processes executed and their complexity. In this section, we tackle<br />

this issue for both the fully serial and parallel implementation of deterministic hierarchical<br />

consensus architectures.<br />

Without loss of generality, let us assume that consensus clustering is to be conducted<br />

on a cluster ensemble of size l generated upon f = 3 mutually crossed diversity factors. By<br />

means of an ordered list O, these three factors are associated to one of the stages of the<br />

DHCA, i.e. O = {df1,df2,df3} —recall that, according to the definition of DHCA, i) the<br />

numerical subindex of each diversity factor identifies the stage it is associated to, and ii)<br />

Ki consensus processes of complexity O (|dfi| w )(wherew = {1, 2}) are conducted in the ith<br />

stage, with i = {1, 2, 3} in this case.<br />

As aforementioned, the total number of consensus processes depends on the cardinality<br />

of the diversity factors, which in this particular case amounts to the expression presented<br />

in equation (3.18):<br />

f<br />

Ki =<br />

i=1<br />

3<br />

Ki =<br />

i=1<br />

3<br />

|dfk| +<br />

k=2<br />

3<br />

|dfk| +1=|df2||df3| + |df3| + 1 (3.18)<br />

k=3<br />

where the number of consensus per stage Ki is computed according to equation (3.13).<br />

Firstly, let us analyze the running time of the fully parallel DHCA implementation. As<br />

in section 3.2, we assume that sufficient computing resources allow the concurrent execution<br />

of all the consensus processes of any of the DHCA stages —notice that this amounts to<br />

having as many as |df2||df3| parallel computation units capable of running simultaneously<br />

all the consensus processes of the first stage, which is the one with the largest number of<br />

consensus.<br />

If this condition is met, the running time of any parallel DHCA variant becomes independent<br />

of the ordering of the diversity factors. This is due to the fact that, assuming<br />

the fully simultaneous execution of all the consensus processes corresponding to the same<br />

DHCA stage, the running time of the whole consensus architecture will be proportional to<br />

O (|df1| w )+O (|df2| w )+O (|df3| w ) –as the running time of each DHCA stage is equivalent to<br />

the execution of a single consensus process–, which is independent of which diversity factor<br />

is assigned to each stage.<br />

However, despite the diversity factors ordering does not affect the running time of parallel<br />

DHCA variants, this factor has a significant impact on the dimensioning of the necessary<br />

resources for the entirely parallel execution of all the consensus processes involved, as it is<br />

directly related to the total number of consensus that must be executed in the DHCA.<br />

f<br />

From equation (3.18), it is straightforward to see that Ki is independent of the<br />

cardinality of the diversity factor associated to the first DHCA stage (df1). Thus, notice<br />

that the total number of consensus of a DHCA is minimized if the diversity factors are<br />

arranged in the ordered list O according to their cardinality and in decreasing order, i.e.<br />

|df1| ≥|df2| ≥|df3|. By doing so, the number of consensus processes conducted in the<br />

73<br />

i=1

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

Saved successfully!

Ooh no, something went wrong!