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

Method distance

examples/hamming.cpp:69–69  ·  view source on GitHub ↗

Return minimum distance

Source from the content-addressed store, hash-verified

67 unsigned int bits(void) const { return _bits.value(); }
68 /// Return minimum distance
69 unsigned int distance(void) const { return _distance.value(); }
70 /// Return number of symbols
71 unsigned int size(void) const { return _size.value(); }
72

Callers 1

HammingMethod · 0.80

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected