distance function

Distance measures (between constructs or elements).