For faster navigation, this Iframe is preloading the Wikiwand page for Lee-afstand.

Lee-afstand

Uit Wikipedia, de vrije encyclopedie

De Lee-afstand is een metriek die wordt toegepast in de coderingstheorie. Het is een maat voor de "afstand" tussen twee "woorden" van gelijke lengte uit een zeker "alfabet".

Definities

  • het alfabet F bestaat uit q symbolen, waarbij q ≥ 2, waarvoor we de gehele getallen van 0 tot en met q-1 gebruiken; dus F = {0, 1, ..., q-1}.
  • een woord x van lengte n is een n-tupel van symbolen uit het alfabet: x = (x1, ..., xn). Dit is dus een punt in de vectorruimte bestaande uit alle mogelijke woorden van lengte n.
  • het (Lee-)gewicht van een woord x is de som:
  • de (Lee-)afstand tussen twee woorden x en y van lengte n is dan:

De Lee-afstand is genoemd naar de wiskundige C.Y. Lee. De Lee-afstand is verwant aan de Hammingafstand; deze is gedefinieerd voor binaire woorden en wordt gebruikt voor de binaire Hamming-code, terwijl de Lee-afstand is gedefinieerd voor niet-binaire foutencorrigerende codes, de Lee-codes. Wanneer q=2 valt de Lee-afstand samen met de Hammingafstand.[1]

Voorbeeld

Stel q=6 en het alfabet is {0,1,2,3,4,5}. De woorden "32145" en "54123" hebben beide als Lee-gewicht 3+2+1+2+1=9. De Lee-afstand tussen beide is 2+2+0+2+2=8.

{{bottomLinkPreText}} {{bottomLinkText}}
Lee-afstand
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Wikiwand 2.0 is here 🎉! We've made some exciting updates - No worries, you can always revert later on