Criteria of phase transitions in a complex plasma.