AndreasL has asked for the wisdom of the Perl Monks concerning the following question:
c? ... cluster m? ... machine [|-] ... separates clusters
I don't want this, as this would be the easy solution :-)@ca = qw (ma mb mc md me mf mg mh); # 8-node cluster @cb = qw (mi mj mk ml mm mn mo mp); # 8-node cluster @cc = qw (mq mr ms mt); # 4-node cluster @cd = qw (mu mv mw mx); # 4-node cluster @ce = qw (my mz); # 2-node cluster @cf = qw (m1 m2); # 2-node cluster @cg = qw (m3 m4); # 2-node cluster @ch = qw (m5); # standalone @ci = qw (m6); # standalone @cj = qw (m7); # standalone @ck = qw (m8); # standalone
----------------------------- |ma mb mc md me mf mg mh|mi mj ----------------------------- mk ml mm mn mo mp|mq mr ms mt| ----------------------------- |mu mv mw mx|my mz|m1 m2|m3 m4| ----------------------------- |m5|m6|m7|m8| -----------What I'd like to have is this (or similar):
----------------------------- |ma mb mc md|mi mj mk ml|mq mr| | | | | |me mf mg mh|mm mn mo mp|ms mt| ----------------------------- |mu mv|my mz|m3 m4|m7|m8| | |-----|-----|----- |mw mx|m1 m2|m5|m6| -----------------My idea: take two lines per cluster, find the biggest clusters, that fit's into the current double line and fill the remaining columns with smaller clusters/standalone machines. Continue with the next two lines and fill in the remaining stuff. Any ideas about better algorithms (or even modules :-)) I could use?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Visualisation of environment
by PodMaster (Abbot) on Mar 21, 2004 at 15:13 UTC | |
|
Re: Visualisation of environment
by BrowserUk (Patriarch) on Mar 21, 2004 at 16:49 UTC | |
|
Re: Visualisation of environment
by MidLifeXis (Monsignor) on Mar 22, 2004 at 17:35 UTC | |
by AndreasL (Scribe) on Mar 22, 2004 at 20:27 UTC | |
|
Re: Visualisation of environment
by cyocum (Curate) on Mar 22, 2004 at 12:50 UTC | |
|
Re: Visualisation of environment
by flyingmoose (Priest) on Mar 22, 2004 at 17:46 UTC |