What does the notation of $1\{a_i=b\}$ mean in a summation?

31 Views Asked by At

As seen in:

http://stanford.edu/~cpiech/cs221/img/kmeansMath.png

Does it mean sum for all elements that satisfy the condition? What does the 1 mean? Is there a name for this notation?