retrieval measure functions