From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.0 tests=BAYES_00,NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Some advice required [OT] Date: Mon, 27 Dec 2021 20:56:07 +0200 Organization: Tidorum Ltd Message-ID: References: <7bede061-4b0f-4029-beb1-1056637e57d6n@googlegroups.com> <49538254-21ed-4fd0-8316-1bccc7d3c635n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 9H3nyK7DY1aTRScViJCGyQf7Pzp2ZmNTGmTPliCSpccagWKkwk Cancel-Lock: sha1:X3ch0cQ45PxRBdAH00ax4zpO8fc= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:63284 List-Id: On 2021-12-27 19:41, Dennis Lee Bieber wrote: > On Mon, 27 Dec 2021 04:29:06 -0800 (PST), Laurent > declaimed the following: > >> Why I would choose result from strain B over the result from strain >> A. >> >> strain A: SSSRSS strain B: SSRRRS >> >> Simply counting the number of S, I and R doesn't work. ?Checksum >> with/without weight for the column number doesn't work either. > > I wouldn't expect a checksum to be of any use, since the idea of > most checksums (and CRCs) is to be able to verify that a data > sequence has not been corrupted. Checksums don't "rank" data. I believe that Laurent does not mean "checksum" in its usual meaning, but a numerical "score" computed as a sum of terms multiplied by weights. Whether such a score can solve Laurent's problem is not clear.