A general framework for the IT-based clustering methods