Hi Christopher, 
You are right, there are not many examples out there of using Julia for 
agent based models, at least as far as I can see. 

I am not sure if you know about this one, but in the excellent QuantEcon 
website, they give an example of Schelling's model of segregation with some 
example code.
http://nbviewer.jupyter.org/github/QuantEcon/QuantEcon.applications/blob/master/schelling/schelling_solutions_jl.ipynb

But I think maybe what you are trying to do is a little bit more than this, 
but just thought I would mention this example in case you hadn't seen it. 
Glenn


On Saturday, 4 June 2016 22:19:02 UTC+10, Christopher Fisher wrote:
>
> I was wondering if someone would be willing to help me with creating 
> user-defined types. I've been using Julia for about two years now but I am 
> new to the idea of creating custom types. I'm trying to create a population 
> of agents/individuals in a simple epidemiological simulation. 
>
> type Person
>     infected::Int64
>     vaccinated::Int64
>     dead::Int64
>    history::Array{Int64,1}
> end
>
> Any help would be greatly appreciated. 
>

Reply via email to