What are the three kinds of presidential primaries?

Closed, semi-closed and open.