Esempio n. 1
0
def strong_polity():
    state_size = 20
    state = polity.Polity(
        [Community(default_parameters) for i in range(state_size)])
    for tile in state.communities:
        tile.ultrasocietal_traits = ([True] *
                                     default_parameters.n_ultrasocietal_traits)
    return state
Esempio n. 2
0
def weak_polity():
    state_size = 1
    state = polity.Polity(
        [Community(default_parameters) for i in range(state_size)])
    return state
Esempio n. 3
0
def polity_10():
    state = polity.Polity(
        [Community(default_parameters) for i in range(10)]
        )
    return state
Esempio n. 4
0
def mediocre_polity():
    state_size = 5
    state = polity.Polity(
        [Community(default_parameters) for i in range(state_size)])
    return state
Esempio n. 5
0
 def _arbitrary_polity(size):
     state = polity.Polity(
         [Community(default_parameters) for i in range(size)]
         )
     return state