MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guía de usuario Pagina 267

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 986
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 266
How the Matching Algorithm Works
9-15
Two Sequences of Elements Are Cross-Matched
It is difficult to distinguish many similar potential matches and this could produce
unexpected results. In the following example, B elements are scored on name, p1, and p2,
and the score is compared to a threshold of 0.5.
The right document contains one B element more than the left document, and therefore
one of the B elements on the right must remain unmatched and the tool will mark one as
inserted. However, since most B elements on the left potentially match most B elements
on the right, it is impossible to predict exactly how the sequences will be matched. For
instance, the comparison could generate the following result:
“B name=”1” …” > “B name=”2” …”
“B name=”2” …” > “B name=”new” …”
“B name=”3” …” > “B name=”3” …”
“B name=”4” …” > “B name=”4” …”
In this case, “B name= “1” on the right remains unmatched. As in the previous example,
this depends on how all of the other B elements in the two documents are matched. This
situation is likely to occur when elements have several potential matching candidates.
Vista de pagina 266
1 2 ... 262 263 264 265 266 267 268 269 270 271 272 ... 985 986

Comentarios a estos manuales

Sin comentarios