Package populus :: Module SocialPuppet :: Class AgentPreferences
[frames] | no frames]

Class AgentPreferences

This class handle the Agent Preferences. At the moment uses just a dictionary for all the preferences needed

Instance Methods
 
__init__(self, preferences={})
 
getAllPreferences(self)
 
getPreferenceByName(self, preferenceName)
 
setPreferenceValue(self, preferenceName, preferenceValue)
Class Variables
  SAME_GENDER = 'SameGender'
  OPPOSITE_GENDER = 'OppositeGender'
  SHOPS = 'Shops'
  CARS = 'Cars'
  noPreferences = {'Cars': 0.0, 'OppositeGender': 0.0, 'SameGend...
Class Variable Details

noPreferences

Value:
{'Cars': 0.0, 'OppositeGender': 0.0, 'SameGender': 0.0, 'Shops': 0.0}