optmatch
optmatch copied to clipboard
optmatch_same_distances updates
-
[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.)
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).