|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: canonicalize = normalize?
Canonicalize usually means "Transform to canonical form," while normalize usually means "Transform to normal form." Canonical form is a unique form of whatever it is you're looking at allowing comparing for equality of two items from the space by comparing their canonical forms for identity. It must be true that every element of the domain has a canonical form and that the canonicalization function is idempotent (it doesn't change something already in canonical form). So when you have a*(b+c), somebody has to decide whether the canonical form is a*(b+c) or a*b + a*c. The transformation to canonical form of all expressions involving multiplication and addition is then straightforward (you have to remember to sort the terms of a sum or product in some canonical order). Sometimes transforming to canonical form requires a lot of knowledge; for example, the canonical form of exp(i*pi)+1 is probably going to be 0 given any reasonable definition of canonical form. In certain domains, reduction to canonical form is undecidable (would correspond to being able solve certain hard equations). Normal form is similar to canonical form, except that it is sometimes not unique. (For example, in databases, people talk about 1st, 2nd, 3rd and 4th normal forms for a table structure.) Probably, when there is just one normal form in the domain, conflating canonical with normal is relatively harmless. Jeff ----- Original Message ----- From: "Roger L. Costello" <costello@m...> To: <xml-dev@l...> Sent: Friday, July 25, 2003 12:23 PM Subject: canonicalize = normalize? > Hi Folks, > > Does canonicalize mean the same thing as normalize? > > Is canonical form the same as normalized form?
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








