combined centralities and algos to one interface