Assortativity: replaced StringParameters in constructor and computation
methods by enums to prevent illegal values.