Preference Neural Network and Its Applications