Exemplo 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
Exemplo n.º 2
0
def weak_polity():
    state_size = 1
    state = polity.Polity(
        [Community(default_parameters) for i in range(state_size)])
    return state
Exemplo n.º 3
0
def polity_10():
    state = polity.Polity(
        [Community(default_parameters) for i in range(10)]
        )
    return state
Exemplo n.º 4
0
def mediocre_polity():
    state_size = 5
    state = polity.Polity(
        [Community(default_parameters) for i in range(state_size)])
    return state
Exemplo n.º 5
0
 def _arbitrary_polity(size):
     state = polity.Polity(
         [Community(default_parameters) for i in range(size)]
         )
     return state