Generalized Preference Learning for Trust Network Inference