CG

cumulative gain

for each query result, it has a relevant score NDCG - 图1,

NDCG - 图2

DCG

discounted cumulative gain

take the position of each result into account,
NDCG - 图3
it is calculated as following in industral environment

where NDCG - 图4, the numerator using exprenation seems to winden the gap between top scores and low scores, and minus one is to reback to [0, 1]. Add 1 is to set the value of denominator into NDCG - 图5

NDCG

normalized discounted cumulative gain

The results size of each query is not the same, which means the max DCG of each query is not the same. So, DCG needs normalizing.

NDCG - 图6
where the NDCG - 图7 (ideal) is the best search result by human sorting.