optmatch icon indicating copy to clipboard operation
optmatch copied to clipboard

optmatch_same_distances updates

Open josherrickson opened this issue 5 years ago • 1 comments

  • [x] optmatch_same_distances should be able to take two optmatch objects. Make it S4 generic?

  • [ ] Does not work with c.optmatch. Should it a) Refuse to operate and throw an informative error, or b) provide a vector of TRUE/FALSE comparing each subproblem's distance. (By definition, the vector must sum to 1.)

josherrickson avatar Jul 09 '19 11:07 josherrickson

optmatch_same_distance now takes in two arguments, x and y. Both arguments can be either a distance (ISM, BISM, DenseMatrix) or optmatch. (So we can compare ISM to ISM or optmatch to optmatch directly).

josherrickson avatar Dec 22 '21 15:12 josherrickson