MCPcopy Create free account
hub / github.com/Gecode/gecode / columns_interchange

Function columns_interchange

gecode/minimodel/ldsb.hpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 */
49 template<class A>
50 SymmetryHandle
51 columns_interchange(const Matrix<A>& m) {
52 typename Matrix<A>::ArgsType xs;
53 for (int c = 0 ; c < m.width() ; c++)
54 xs << m.col(c);
55 return VariableSequenceSymmetry(xs, m.height());
56 }
57
58 /** \brief Reflect rows symmetry specification.
59 */

Callers 4

setupMethod · 0.85
setupMethod · 0.85
LatinMethod · 0.85
BIBDMethod · 0.85

Calls 4

VariableSequenceSymmetryFunction · 0.50
widthMethod · 0.45
colMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected