Skip to content

Instantly share code, notes, and snippets.

@gnu-user
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gnu-user/8925146 to your computer and use it in GitHub Desktop.
Save gnu-user/8925146 to your computer and use it in GitHub Desktop.
MATCHING TEST
=================== BEFORE MATCHING ===================
Index 1: 1 => 493.712, 3 => 682.01, 4 => 69.814,
Index 2: 1 => 54.5619, 3 => 263.31, 5 => 296.589,
Index 3: 2 => 526.541, 3 => 435.147, 5 => 436.406,
Index 4: 1 => 196.087, 3 => 56.2228, 5 => 59.6825,
Index 5: 1 => 379.613, 2 => 73.8173, 3 => 354.515,
Index 6: 1 => 418.862, 2 => 75.71, 3 => 407.316,
Parent Index 1: 1 => 493.712
Match Index 2: 1 => 54.5619
Deleting from Parent Index 1: 1 => 493.712
=================== CURRENT MATCHING ===================
Index 1: 3 => 682.01, 4 => 69.814,
Index 2: 1 => 54.5619, 3 => 263.31, 5 => 296.589,
Index 3: 2 => 526.541, 3 => 435.147, 5 => 436.406,
Index 4: 1 => 196.087, 3 => 56.2228, 5 => 59.6825,
Index 5: 1 => 379.613, 2 => 73.8173, 3 => 354.515,
Index 6: 1 => 418.862, 2 => 75.71, 3 => 407.316,
Parent Index 2: 1 => 54.5619
Match Index 4: 1 => 196.087
Deleting from Match Index 4: 1 => 196.087
Match Index 5: 1 => 379.613
Deleting from Match Index 5: 1 => 379.613
Match Index 6: 1 => 418.862
Deleting from Match Index 6: 1 => 418.862
=================== CURRENT MATCHING ===================
Index 1: 3 => 682.01, 4 => 69.814,
Index 2: 1 => 54.5619, 3 => 263.31, 5 => 296.589,
Index 3: 2 => 526.541, 3 => 435.147, 5 => 436.406,
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173, 3 => 354.515,
Index 6: 2 => 75.71, 3 => 407.316,
Parent Index 3: 2 => 526.541
Match Index 5: 2 => 73.8173
Deleting from Parent Index 3: 2 => 526.541
=================== CURRENT MATCHING ===================
Index 1: 3 => 682.01, 4 => 69.814,
Index 2: 1 => 54.5619, 3 => 263.31, 5 => 296.589,
Index 3: 3 => 435.147, 5 => 436.406,
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173, 3 => 354.515,
Index 6: 2 => 75.71, 3 => 407.316,
Parent Index 4: 3 => 56.2228
Match Index 5: 3 => 354.515
Deleting from Match Index 5: 3 => 354.515
Match Index 6: 3 => 407.316
Deleting from Match Index 6: 3 => 407.316
Match Index 1: 3 => 682.01
Deleting from Match Index 1: 3 => 682.01
Match Index 2: 3 => 263.31
Deleting from Match Index 2: 3 => 263.31
Match Index 3: 3 => 435.147
Deleting from Match Index 3: 3 => 435.147
=================== CURRENT MATCHING ===================
Index 1: 4 => 69.814,
Index 2: 1 => 54.5619, 5 => 296.589,
Index 3: 5 => 436.406,
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173,
Index 6: 2 => 75.71,
Parent Index 5: 2 => 73.8173
Match Index 6: 2 => 75.71
Deleting from Match Index 6: 2 => 75.71
=================== CURRENT MATCHING ===================
Index 1: 4 => 69.814,
Index 2: 1 => 54.5619, 5 => 296.589,
Index 3: 5 => 436.406,
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173,
Index 6:
Parent Index 1: 4 => 69.814
=================== CURRENT MATCHING ===================
Index 1: 4 => 69.814,
Index 2: 1 => 54.5619, 5 => 296.589,
Index 3: 5 => 436.406,
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173,
Index 6:
Parent Index 2: 1 => 54.5619
=================== CURRENT MATCHING ===================
Index 1: 4 => 69.814,
Index 2: 1 => 54.5619, 5 => 296.589,
Index 3: 5 => 436.406,
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173,
Index 6:
Parent Index 3: 5 => 436.406
Match Index 4: 5 => 59.6825
Deleting from Parent Index 3: 5 => 436.406
=================== CURRENT MATCHING ===================
Index 1: 4 => 69.814,
Index 2: 1 => 54.5619, 5 => 296.589,
Index 3:
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173,
Index 6:
Parent Index 4: 3 => 56.2228
=================== CURRENT MATCHING ===================
Index 1: 4 => 69.814,
Index 2: 1 => 54.5619, 5 => 296.589,
Index 3:
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173,
Index 6:
Parent Index 5: 2 => 73.8173
=================== CURRENT MATCHING ===================
Index 1: 4 => 69.814,
Index 2: 1 => 54.5619, 5 => 296.589,
Index 3:
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173,
Index 6:
Parent Index 1: 4 => 69.814
=================== CURRENT MATCHING ===================
Index 1: 4 => 69.814,
Index 2: 1 => 54.5619, 5 => 296.589,
Index 3:
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173,
Index 6:
Parent Index 2: 1 => 54.5619
=================== CURRENT MATCHING ===================
Index 1: 4 => 69.814,
Index 2: 1 => 54.5619, 5 => 296.589,
Index 3:
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173,
Index 6:
Parent Index 4: 3 => 56.2228
=================== CURRENT MATCHING ===================
Index 1: 4 => 69.814,
Index 2: 1 => 54.5619, 5 => 296.589,
Index 3:
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173,
Index 6:
Parent Index 5: 2 => 73.8173
=================== CURRENT MATCHING ===================
Index 1: 4 => 69.814,
Index 2: 1 => 54.5619, 5 => 296.589,
Index 3:
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173,
Index 6:
=================== AFTER MATCHING ===================
Index 1: 4 => 69.814,
Index 2: 1 => 54.5619, 5 => 296.589,
Index 3:
Index 4: 3 => 56.2228, 5 => 59.6825,
Index 5: 2 => 73.8173,
Index 6:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment