Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!us.feeder.erje.net!newsfeed.straub-nv.de!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 06 Feb 2013 10:33:43 -0600 Date: Wed, 06 Feb 2013 16:33:43 +0000 From: lipska the kat <"nospam at neversurrender dot co dot uk"> Organization: Trollbusters 3 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: compare several boolean =?windows-1252?Q?matrix=92s?= References: <8f60207e-f848-490b-a402-7cc1aba657e9@googlegroups.com> <4683b212-bb4f-4219-9df1-93aa08ea73ce@googlegroups.com> In-Reply-To: <4683b212-bb4f-4219-9df1-93aa08ea73ce@googlegroups.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Message-ID: Lines: 50 X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-CEg9g1SUrhN6MoGuouFLq23UVdHxLZ7COV01zITi+OuSGFyXf7IL9URk3wh61y07maMeC4eXmS1U4qC!CH4kiVvrc9w7BA3+cUm6jPAg0MK9y7dyJJ/tcMAeXsweQ3ikl2cwmPqKaN2gcremj4jjSU0MxrM= X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2505 Xref: csiph.com comp.lang.java.programmer:22168 On 06/02/13 16:20, Keivan Jafari wrote: > Den tisdagen den 5:e februari 2013 kl. 20:19:58 UTC+1 skrev Keivan Jafari: >> Hi there, >> >> >> >> Is there any way to compare several boolean matrix’s(25 matrix’s) and pick up a final valid matrix of those 25. >> >> >> >> The elements in the valid matrix will be, an example: >> >> >> >> If matrix M(0) to M(5) element(21) have value false >> >> >> >> And if matrix M(6) to M(24) element(21) have value true, Then most probably the value of element 21 is true, since much more matrix’s shows that that element 21 value is true >> >> >> >> Java code will be mostly appreciated >> >> >> >> Best regards/ >> >> >> >> Keivan > > Exactly! > Do you know how to put the algorithm in java? > I would appreciate java code. > > Br/ > Keivan I'm sure I can think of something, I expect others are having a go as well. I don't think I'll be the first to come up with a solution as I'm getting old and slow but I'll have a look at it Is this 'homework' by any chance ? lipska -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun