void calcNoBeefMask(SimMatrix &MASK, double A1, double A2, double B1, double B2, double B1p, double B2p, int noBeef, bool hardConstrain)
Fill a diagonal strip with one through the matrix MASK.
Definition: constrainMat.cpp:13
void constrainSimilarity(SimMatrix &s, const SimMatrix &MASK, double constrainVal)
Applies the mask from calcNoBeefMask() on the similarity matrix.
Definition: constrainMat.cpp:71