-
Notifications
You must be signed in to change notification settings - Fork 0
Create GaskySparkReducerJob #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
working on creating intervals for the gasky algorithm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applying gaskyAlgorithm for Column number: 1
Initial Points for Column number: 1
(2.0,3.0)
(3.0,3.0)
(4.0,6.0)
(5.0,1.0)
(6.0,3.0)
(8.0,5.0)
xij: 2.5, xjk: 17.0
xij: 17.0, xjk: -13.0
Removed point: (4.0,6.0)
xij: 2.0, xjk: 9.5
xij: 9.5, xjk: 11.0
Filtered Points after Gasky Algorithm for Column number: 1
(2.0,3.0)
(3.0,3.0)
(5.0,1.0)
(6.0,3.0)
(8.0,5.0)
unDominatedPoints size: 5
Proximal Points for Column number: 1
[1.0, 2.5]
[2.5, 4.0]
[4.0, 5.5]
[5.5, 7.0]
[7.0, 8.0]
Updated Distances:
3.1622776601683795
3.0
3.0
1.4142135623730951
1.0
3.0
3.1622776601683795
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 2
Initial Points for Column number: 2
(2.0,2.0)
(3.0,2.0)
(4.0,5.0)
(5.0,0.0)
(6.0,2.0)
(8.0,4.0)
xij: 2.5, xjk: 14.0
xij: 14.0, xjk: -8.0
Removed point: (4.0,5.0)
xij: 3.0, xjk: 7.5
xij: 7.5, xjk: 10.0
Filtered Points after Gasky Algorithm for Column number: 2
(2.0,2.0)
(3.0,2.0)
(5.0,0.0)
(6.0,2.0)
(8.0,4.0)
unDominatedPoints size: 5
Proximal Points for Column number: 2
[1.0, 2.5]
[2.5, 4.0]
[4.0, 5.5]
[5.5, 7.0]
[7.0, 8.0]
Updated Distances:
2.23606797749979
2.0
2.0
1.0
0.0
2.0
2.23606797749979
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 3
Initial Points for Column number: 3
(2.0,1.0)
(3.0,1.0)
(4.0,4.0)
(5.0,1.0)
(6.0,1.0)
(8.0,3.0)
xij: 2.5, xjk: 11.0
xij: 11.0, xjk: -3.0
Removed point: (4.0,4.0)
xij: 4.0, xjk: 5.5
xij: 5.5, xjk: 9.0
Filtered Points after Gasky Algorithm for Column number: 3
(2.0,1.0)
(3.0,1.0)
(5.0,1.0)
(6.0,1.0)
(8.0,3.0)
unDominatedPoints size: 5
Proximal Points for Column number: 3
[1.0, 2.5]
[2.5, 4.0]
[4.0, 5.5]
[5.5, 7.0]
[7.0, 8.0]
Updated Distances:
1.4142135623730951
1.0
1.0
1.4142135623730951
1.0
1.0
1.4142135623730951
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 4
Initial Points for Column number: 4
(2.0,0.0)
(3.0,0.0)
(4.0,3.0)
(5.0,2.0)
(6.0,0.0)
(8.0,2.0)
xij: 2.5, xjk: 8.0
xij: 8.0, xjk: 2.0
Removed point: (4.0,3.0)
xij: 5.0, xjk: 3.5
Removed point: (5.0,2.0)
xij: 4.5, xjk: 8.0
Filtered Points after Gasky Algorithm for Column number: 4
(2.0,0.0)
(3.0,0.0)
(6.0,0.0)
(8.0,2.0)
unDominatedPoints size: 4
Proximal Points for Column number: 4
[1.0, 2.5]
[2.5, 4.5]
[4.5, 7.0]
[7.0, 8.0]
Updated Distances:
1.0
0.0
0.0
1.0
1.0
0.0
1.0
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 5
Initial Points for Column number: 5
(2.0,1.0)
(3.0,1.0)
(4.0,2.0)
(5.0,1.0)
(6.0,1.0)
(8.0,1.0)
xij: 2.5, xjk: 5.0
xij: 5.0, xjk: 3.0
Removed point: (4.0,2.0)
xij: 4.0, xjk: 5.5
xij: 5.5, xjk: 7.0
Filtered Points after Gasky Algorithm for Column number: 5
(2.0,1.0)
(3.0,1.0)
(5.0,1.0)
(6.0,1.0)
(8.0,1.0)
unDominatedPoints size: 5
Proximal Points for Column number: 5
[1.0, 2.5]
[2.5, 4.0]
[4.0, 5.5]
[5.5, 7.0]
[7.0, 8.0]
Updated Distances:
1.4142135623730951
1.0
1.0
1.4142135623730951
1.0
1.0
1.4142135623730951
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 6
Initial Points for Column number: 6
(2.0,1.0)
(3.0,2.0)
(4.0,1.0)
(5.0,0.0)
(6.0,2.0)
(8.0,0.0)
xij: 4.0, xjk: 2.0
Removed point: (3.0,2.0)
xij: 3.0, xjk: 4.0
xij: 4.0, xjk: 7.5
xij: 7.5, xjk: 6.0
Removed point: (6.0,2.0)
Filtered Points after Gasky Algorithm for Column number: 6
(2.0,1.0)
(4.0,1.0)
(5.0,0.0)
(8.0,0.0)
unDominatedPoints size: 4
Proximal Points for Column number: 6
[1.0, 3.0]
[3.0, 4.5]
[4.5, 6.5]
[6.5, 8.0]
Updated Distances:
1.4142135623730951
1.0
1.4142135623730951
1.0
0.0
1.0
1.7976931348623157E308
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 7
Initial Points for Column number: 7
(2.0,0.0)
(3.0,3.0)
(4.0,0.0)
(5.0,1.0)
(6.0,3.0)
(8.0,1.0)
xij: 7.0, xjk: -1.0
Removed point: (3.0,3.0)
xij: 3.0, xjk: 5.0
xij: 5.0, xjk: 9.5
xij: 9.5, xjk: 5.0
Removed point: (6.0,3.0)
Filtered Points after Gasky Algorithm for Column number: 7
(2.0,0.0)
(4.0,0.0)
(5.0,1.0)
(8.0,1.0)
unDominatedPoints size: 4
Proximal Points for Column number: 7
[1.0, 3.0]
[3.0, 4.5]
[4.5, 6.5]
[6.5, 8.0]
Updated Distances:
1.0
0.0
1.0
0.0
1.0
1.4142135623730951
1.7976931348623157E308
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 8
Initial Points for Column number: 8
(2.0,1.0)
(3.0,4.0)
(4.0,1.0)
(5.0,2.0)
(6.0,4.0)
(8.0,2.0)
xij: 10.0, xjk: -4.0
Removed point: (3.0,4.0)
xij: 3.0, xjk: 6.0
xij: 6.0, xjk: 11.5
xij: 11.5, xjk: 4.0
Removed point: (6.0,4.0)
Filtered Points after Gasky Algorithm for Column number: 8
(2.0,1.0)
(4.0,1.0)
(5.0,2.0)
(8.0,2.0)
unDominatedPoints size: 4
Proximal Points for Column number: 8
[1.0, 3.0]
[3.0, 4.5]
[4.5, 6.5]
[6.5, 8.0]
Updated Distances:
1.4142135623730951
1.0
1.4142135623730951
1.0
2.0
2.23606797749979
1.7976931348623157E308
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 1
Initial Points for Column number: 1
(2.0,3.0)
(4.0,1.0)
(6.0,6.0)
xij: 1.0, xjk: 13.75
Filtered Points after Gasky Algorithm for Column number: 1
(2.0,3.0)
(4.0,1.0)
(6.0,6.0)
unDominatedPoints size: 3
Proximal Points for Column number: 1
[1.0, 3.0]
[3.0, 5.0]
[5.0, 8.0]
Updated Distances:
3.1622776601683795
3.0
1.4142135623730951
1.0
1.4142135623730951
1.7976931348623157E308
1.7976931348623157E308
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 2
Initial Points for Column number: 2
(2.0,2.0)
(4.0,0.0)
(6.0,5.0)
xij: 2.0, xjk: 11.25
Filtered Points after Gasky Algorithm for Column number: 2
(2.0,2.0)
(4.0,0.0)
(6.0,5.0)
unDominatedPoints size: 3
Proximal Points for Column number: 2
[1.0, 3.0]
[3.0, 5.0]
[5.0, 8.0]
Updated Distances:
2.23606797749979
2.0
1.0
0.0
1.0
1.7976931348623157E308
1.7976931348623157E308
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 3
Initial Points for Column number: 3
(2.0,1.0)
(4.0,1.0)
(6.0,4.0)
xij: 3.0, xjk: 8.75
Filtered Points after Gasky Algorithm for Column number: 3
(2.0,1.0)
(4.0,1.0)
(6.0,4.0)
unDominatedPoints size: 3
Proximal Points for Column number: 3
[1.0, 3.0]
[3.0, 5.0]
[5.0, 8.0]
Updated Distances:
1.4142135623730951
1.0
1.4142135623730951
1.0
1.4142135623730951
1.7976931348623157E308
1.7976931348623157E308
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 4
Initial Points for Column number: 4
(2.0,0.0)
(4.0,2.0)
(6.0,3.0)
xij: 4.0, xjk: 6.25
Filtered Points after Gasky Algorithm for Column number: 4
(2.0,0.0)
(4.0,2.0)
(6.0,3.0)
unDominatedPoints size: 3
Proximal Points for Column number: 4
[1.0, 3.0]
[3.0, 5.0]
[5.0, 8.0]
Updated Distances:
1.0
0.0
1.0
2.0
2.23606797749979
1.7976931348623157E308
1.7976931348623157E308
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 5
Initial Points for Column number: 5
(2.0,1.0)
(4.0,3.0)
(6.0,2.0)
xij: 5.0, xjk: 3.75
Removed point: (4.0,3.0)
Filtered Points after Gasky Algorithm for Column number: 5
(2.0,1.0)
(6.0,2.0)
unDominatedPoints size: 2
Proximal Points for Column number: 5
[1.0, 4.0]
[4.0, 8.0]
Updated Distances:
1.4142135623730951
1.0
1.4142135623730951
2.23606797749979
1.7976931348623157E308
1.7976931348623157E308
1.7976931348623157E308
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 6
Initial Points for Column number: 6
(2.0,2.0)
(4.0,4.0)
(6.0,1.0)
xij: 6.0, xjk: 1.25
Removed point: (4.0,4.0)
Filtered Points after Gasky Algorithm for Column number: 6
(2.0,2.0)
(6.0,1.0)
unDominatedPoints size: 2
Proximal Points for Column number: 6
[1.0, 4.0]
[4.0, 8.0]
Updated Distances:
2.23606797749979
2.0
2.23606797749979
2.8284271247461903
1.7976931348623157E308
1.7976931348623157E308
1.7976931348623157E308
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 7
Initial Points for Column number: 7
(2.0,3.0)
(4.0,5.0)
(6.0,0.0)
xij: 7.0, xjk: -1.25
Removed point: (4.0,5.0)
Filtered Points after Gasky Algorithm for Column number: 7
(2.0,3.0)
(6.0,0.0)
unDominatedPoints size: 2
Proximal Points for Column number: 7
[1.0, 4.0]
[4.0, 8.0]
Updated Distances:
3.1622776601683795
3.0
3.1622776601683795
3.605551275463989
1.7976931348623157E308
1.7976931348623157E308
1.7976931348623157E308
1.7976931348623157E308
Applying gaskyAlgorithm for Column number: 8
Initial Points for Column number: 8
(2.0,4.0)
(4.0,6.0)
(6.0,1.0)
xij: 8.0, xjk: -3.75
Removed point: (4.0,6.0)
Filtered Points after Gasky Algorithm for Column number: 8
(2.0,4.0)
(6.0,1.0)
unDominatedPoints size: 2
Proximal Points for Column number: 8
[1.0, 4.0]
[4.0, 8.0]
Updated Distances:
4.123105625617661
4.0
4.123105625617661
4.47213595499958
1.7976931348623157E308
1.7976931348623157E308
1.7976931348623157E308
1.7976931348623157E308
map reduce Results for the entire dataset: (F2,7) || [3.1622776601683795,3.0,3.1622776601683795,3.605551275463989,1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308] || [3.0,7.0,0.0,7.0] (F2,1) || [3.1622776601683795,3.0,1.4142135623730951,1.0,1.4142135623730951,1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308] || [3.0,1.0,1.0,1.0,6.0,1.0] (F2,8) || [4.123105625617661,4.0,4.123105625617661,4.47213595499958,1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308] || [4.0,8.0,1.0,8.0] (F1,8) || [1.4142135623730951,1.0,1.4142135623730951,1.0,2.0,2.23606797749979,1.7976931348623157E308,1.7976931348623157E308] || [1.0,8.0,1.0,8.0,2.0,8.0,2.0,8.0] (F2,4) || [1.0,0.0,1.0,2.0,2.23606797749979,1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308] || [0.0,4.0,2.0,4.0,3.0,4.0] (F2,5) || [1.4142135623730951,1.0,1.4142135623730951,2.23606797749979,1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308] || [1.0,5.0,2.0,5.0] (F2,6) || [2.23606797749979,2.0,2.23606797749979,2.8284271247461903,1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308] || [2.0,6.0,1.0,6.0] (F1,1) || [3.1622776601683795,3.0,3.0,1.4142135623730951,1.0,3.0,3.1622776601683795,1.7976931348623157E308] || [3.0,1.0,3.0,1.0,1.0,1.0,3.0,1.0,5.0,1.0] (F1,2) || [2.23606797749979,2.0,2.0,1.0,0.0,2.0,2.23606797749979,1.7976931348623157E308] || [2.0,2.0,2.0,2.0,0.0,2.0,2.0,2.0,4.0,2.0] (F1,3) || [1.4142135623730951,1.0,1.0,1.4142135623730951,1.0,1.0,1.4142135623730951,1.7976931348623157E308] || [1.0,3.0,1.0,3.0,1.0,3.0,1.0,3.0,3.0,3.0] (F1,5) || [1.4142135623730951,1.0,1.0,1.4142135623730951,1.0,1.0,1.4142135623730951,1.7976931348623157E308] || [1.0,5.0,1.0,5.0,1.0,5.0,1.0,5.0,1.0,5.0] (F2,2) || [2.23606797749979,2.0,1.0,0.0,1.0,1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308] || [2.0,2.0,0.0,2.0,5.0,2.0] (F2,3) || [1.4142135623730951,1.0,1.4142135623730951,1.0,1.4142135623730951,1.7976931348623157E308,1.7976931348623157E308,1.7976931348623157E308] || [1.0,3.0,1.0,3.0,4.0,3.0] (F1,4) || [1.0,0.0,0.0,1.0,1.0,0.0,1.0,1.7976931348623157E308] || [0.0,4.0,0.0,4.0,0.0,4.0,2.0,4.0] (F1,7) || [1.0,0.0,1.0,0.0,1.0,1.4142135623730951,1.7976931348623157E308,1.7976931348623157E308] || [0.0,7.0,0.0,7.0,1.0,7.0,1.0,7.0] (F1,6) || [1.4142135623730951,1.0,1.4142135623730951,1.0,0.0,1.0,1.7976931348623157E308,1.7976931348623157E308] || [1.0,6.0,1.0,6.0,0.0,6.0,0.0,6.0]
working on creating intervals for the gasky algorithm