name.milesparker.epi.region
Class CityGraphicsAdapter
java.lang.Object
org.eclipse.amp.agf.GraphicsAdapter
name.milesparker.epi.region.CityGraphicsAdapter
- All Implemented Interfaces:
- IGraphicsAdapter, org.eclipse.core.runtime.IAdapterFactory
public class CityGraphicsAdapter
- extends GraphicsAdapter
City Java Implementation.
A simple model of epidemic dynamics. We define individual agents with different disease states. The progression of disease moves from succeptible to exposed to infectious (either symptomatic or asymptomatic) to some outcome state. Agents can transmit infection to their immediate neighbors.
For some background on the general approach, see Joshua M. Epstein. "Generative Social Science". 2006. Princeton.
Copyright 2009, Miles Parker. Released under Eclipse Public License. All uses should be attributed.
Generated by AMF for model: EpidemicRegional.metaabm in project: org.eclipse.amp.amf.examples.escape
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CityGraphicsAdapter
public CityGraphicsAdapter()
getColorsForClass
public org.eclipse.jface.viewers.IColorProvider[] getColorsForClass(java.lang.Class type)
-
- Specified by:
getColorsForClass
in interface IGraphicsAdapter
- Overrides:
getColorsForClass
in class GraphicsAdapter
- Parameters:
type
-
- Returns:
- See Also:
getFiguresForClass
public IFigureProvider[] getFiguresForClass(java.lang.Class type)
-
- Specified by:
getFiguresForClass
in interface IGraphicsAdapter
- Overrides:
getFiguresForClass
in class GraphicsAdapter
- Parameters:
type
-
- Returns:
- See Also:
getLabelsForClass
public org.eclipse.jface.viewers.ILabelProvider[] getLabelsForClass(java.lang.Class type)
-
- Specified by:
getLabelsForClass
in interface IGraphicsAdapter
- Overrides:
getLabelsForClass
in class GraphicsAdapter
- Parameters:
type
-
- Returns:
- See Also:
getDefault
public static IGraphicsAdapter getDefault()
-