Been doing some thinking today about the voter group sorting in Govt.
Its a complex problem. It could all be hardcoded, but thats horrid, and inflexible.
There are some voter groups into which I would like everyone to be in one or the other, such as:
Elderly,Middle Aged,Young
or
Wealthy,Middle Income,Poor
Then there are groups whose membership is pretty random like:
Commuter, Disabled , Gay etc
Then there are those with probabilistic dependencies
So Poor people are more likely to be socialists.
Middle Income or Wealthy more likely to be liberal
People who commute more likely to be motorists etc
And there are some probabilistic exclusions:
Liberals not likely to be patriots
Socialists not likely to be racist
etc
Of course this is all opinion, but unless some rules are in place, the whole thing is a random mess and thus less predictable (and playable).
So somehow I need to represent these relationships in an editable data format, such as an excel spreadsheet.
I am currently using a simple csv file to laod in each group, their size, and the min and max 'loyalty' a voter has for each group (some people are weak socialists, some are real zealots etc).
I need a more flexible system to accomodate these relationships correctly. And I need it to be simple and elegant...
hmmmmmmmmmmm
Its a complex problem. It could all be hardcoded, but thats horrid, and inflexible.
There are some voter groups into which I would like everyone to be in one or the other, such as:
Elderly,Middle Aged,Young
or
Wealthy,Middle Income,Poor
Then there are groups whose membership is pretty random like:
Commuter, Disabled , Gay etc
Then there are those with probabilistic dependencies
So Poor people are more likely to be socialists.
Middle Income or Wealthy more likely to be liberal
People who commute more likely to be motorists etc
And there are some probabilistic exclusions:
Liberals not likely to be patriots
Socialists not likely to be racist
etc
Of course this is all opinion, but unless some rules are in place, the whole thing is a random mess and thus less predictable (and playable).
So somehow I need to represent these relationships in an editable data format, such as an excel spreadsheet.
I am currently using a simple csv file to laod in each group, their size, and the min and max 'loyalty' a voter has for each group (some people are weak socialists, some are real zealots etc).
I need a more flexible system to accomodate these relationships correctly. And I need it to be simple and elegant...
hmmmmmmmmmmm