Package horizons :: Package ai :: Package aiplayer :: Package behavior :: Module diplomacysettings :: Class DiplomacySettings :: Class Good
[hide private]
[frames] | no frames]

Class Good

source code

Class Variables [hide private]
  weights = {'power': 0.4, 'terrain': 0.4, 'wealth': 0.0,}
  parameters_hostile = {'neutral': {'mid':-2.0, 'root':-0.5, 'pe...
  parameters_neutral = {'ally': {'root': 4.0,}, 'enemy': {'root'...
  parameters_allied = {'neutral': {'mid':-3.0, 'root':-1.5, 'pee...
Class Variable Details [hide private]

parameters_hostile

Value:
{'neutral': {'mid':-2.0, 'root':-0.5, 'peek': 0.2,}, 'ally': {'root': \
1.0,},}

parameters_neutral

Value:
{'ally': {'root': 4.0,}, 'enemy': {'root':-6.7, 'peek': 0.4},}

parameters_allied

Value:
{'neutral': {'mid':-3.0, 'root':-1.5, 'peek': 0.2,}, 'enemy': {'root':\
-8.0,},}