Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[stem-dev] First prototype of the new HTML scenario description (bug 318709 feature request)

I'm working on the feature reqeust:
Develope a report generator for scenarios and simulations
from bug 318709

Please find attached the output from the current prototype of a new html scenario report generator.
When you start a scenario with logging on this report is put in the RecordedSimulations folder in the subdirectory for each
active decorator (disease and population models).

Eventually we will update the control to provide independant selection of various types of reports. Today we have the csv run log, the csv parameters log,
and now this html summary. We may eventually modify the GoogleEarth plugin to become just another logger in this view.

In order to cleanup the html report, Stefan and I went through all the ecore models and removed deprecated or unused attributes. We also changes several attributes that
should not show up in this summary to "transient".

The new html summary generator takes an ISimulation, finds the enclosed scenario, and iterates through it's contents. It descends through all models and at each level finds all decorators and associated
graphs. It does not descend past the lowest level model to find enclosed graphs at the leaf nodes (ie it does not report evey single node from all the built in graphs) as that would be way to much data but it does log everything the user defines including all non-transient attribute value pairs by eObject along with each Dublin Core. If the DublinCore field is not filled out it skips the attribute (but the summary file should give people an incentive to fill it out :-)

Thanks in advance for any comments on the attached prototype. Next step is to add some _javascript_ so the user can expand/collapse various sections.





Best Regards,
Jamie

IBM Almaden Research Center, 650 Harry Rd.
San Jose, CA 95120-6099
email: kaufman@xxxxxxxxxxxxxxx
phone: (408) 927-2477  (tie 457-2477)

Title: UsaMexicoScenarioNoPolicy
STEM Scenario: UsaMexicoScenarioNoPolicy
Scenario UsaMexicoScenarioNoPolicy Scenario
uRI: platform:/resource/UsaMexico/scenarios/UsaMexicoScenarioNoPolicy.scenario
typeURI: stemtype://org.eclipse.stem/Scenario
Dublin Core title:
identifier: platform:/resource/UsaMexico/scenarios/UsaMexicoScenarioNoPolicy.scenario
description: Scenario "UsaMexicoScenarioNoPolicy"
creator: edlund
format: http:///org/eclipse/stem/core/scenario.ecore
type: stemtype://org.eclipse.stem/Scenario
created: 2009-04-29
spatial:
Scenario Decorator SwineFluInfector SIInfector
uRI: platform:/resource/UsaMexico/decorators/SwineFluInfector.standard
typeURI: stemtype://org.eclipse.stem/identifiable1129656
targetURI: stem://org.eclipse.stem/node/geo/region/MX-15-033
diseaseName: SwineFlu
targetISOKey: MX-15-033
populationIdentifier: human
infectPercentage: false
targetFeature: i
infectiousCount: 15.0
Dublin Core title: H1N1 Infector
identifier: platform:/resource/UsaMexico/decorators/SwineFluInfector.standard
description: Infect 15 "human" population members with the disease "SwineFlu" at the location "Mexico, Mexico" (MX-15-058).
creator: edlund
format: http:///org/eclipse/stem/diseasemodels/standard.ecore
subject:
type: stemtype://org.eclipse.stem/identifiable1129656
created: 2009-04-27
Scenario Decorator InnoculateMex SIRInoculator
uRI: platform:/resource/UsaMexico/decorators/InnoculateMex.standard
typeURI: stemtype://org.eclipse.stem/identifiable23
targetURI: stem://org.eclipse.stem/node/geo/region/MEX
diseaseName: SwineFlu
targetISOKey: MEX
populationIdentifier: human
infectPercentage: false
targetFeature: i
infectiousCount: 0.0
inoculatedPercentage: 40.0
inoculatePercentage: true
Dublin Core title: H1N1 Inoculator
identifier: platform:/resource/UsaMexico/decorators/InnoculateMex.standard
description: Inoculate 40 "human" percent of population against the disease "SwineFlu" at the location "Mexico" (MEX).
creator: edlund
format: http:///org/eclipse/stem/diseasemodels/standard.ecore
type: stemtype://org.eclipse.stem/identifiable23
created: 2009-04-28
Scenario Decorator InnoculateUS SIRInoculator
uRI: platform:/resource/UsaMexico/decorators/InnoculateUS.standard
typeURI: stemtype://org.eclipse.stem/identifiable21
targetURI: stem://org.eclipse.stem/node/geo/region/USA
diseaseName: SwineFlu
targetISOKey: USA
populationIdentifier: human
infectPercentage: false
targetFeature: i
infectiousCount: 0.0
inoculatedPercentage: 40.0
inoculatePercentage: true
Dublin Core title: H1N1 Inoculator
identifier: platform:/resource/UsaMexico/decorators/InnoculateUS.standard
description: Inoculate 40 "human" percent of population against the disease "SwineFlu" at the location "United States" (USA).
creator: edlund
format: http:///org/eclipse/stem/diseasemodels/standard.ecore
type: stemtype://org.eclipse.stem/identifiable21
created: 2009-04-28
Sequencer SwineFlu8MonthSequencer SequentialSequencer
uRI: platform:/resource/UsaMexico/sequencers/SwineFlu8MonthSequencer.sequencer
typeURI: stemtype://org.eclipse.stem/identifiable20
duration: 21085199000
workComplete: 0.0
cycle: 0
timeIncrement: 86400000
Dublin Core title:
identifier: platform:/resource/UsaMexico/sequencers/SwineFlu8MonthSequencer.sequencer
description: Sequential Sequencer starting from 2009-04-22 to 2009-12-22 with a cycle period of 1 day.
creator: edlund
format: http:///org/eclipse/stem/core/sequencer.ecore
source:
type: stemtype://org.eclipse.stem/identifiable20
created: 2009-04-28
valid: start=2009-04-22; end=2009-12-22;
Model USAMexicoInfluenza Model
uRI: platform:/resource/UsaMexico/models/USAMexicoInfluenza.model
typeURI: stemtype://org.eclipse.stem/Model
Dublin Core title: H1N1
identifier: platform:/resource/UsaMexico/models/USAMexicoInfluenza.model
description: Model "USAMexicoInfluenza"
creator: jhkauf
format: http:///org/eclipse/stem/core/model.ecore
source:
type: stemtype://org.eclipse.stem/Model
created: 2010-06-30
Model Decorator Humans StandardPopulationModel
uRI: platform:/resource/UsaMexico/decorators/Humans.standard
typeURI: stemtype://org.eclipse.stem/identifiable28
populationIdentifier: human
name: HumanPopulationModel
birthRate: 0.0
deathRate: 0.0
timePeriod: 86400000
Dublin Core title: A new population model
identifier: platform:/resource/UsaMexico/decorators/Humans.standard
description: A new population model
creator: james
format: http:///org/eclipse/stem/populationmodels/standard
type: stemtype://org.eclipse.stem/identifiable28
created: 2009-07-31
Model Decorator SwineFlu DeterministicSEIRDiseaseModel
uRI: platform:/resource/UsaMexico/decorators/SwineFlu.standard
typeURI: stemtype://org.eclipse.stem/identifiable1129451
populationIdentifier: human
timePeriod: 86400000
diseaseName: SwineFlu
finiteDifference: true
frequencyDependent: true
referencePopulationDensity: 100.0
roadNetworkInfectiousProportion: 0.01
characteristicMixingDistance: 2.25
transmissionRate: 1.2
nonLinearityCoefficient: 1.0
recoveryRate: 0.3
infectiousMortalityRate: 0.0
immunityLossRate: 1.0E-5
incubationRate: 0.5
Dublin Core title: H1N1
identifier: platform:/resource/UsaMexico/decorators/SwineFlu.standard
description: Disease "SwineFlu"
creator: edlund
format: http:///org/eclipse/stem/diseasemodels/standard.ecore
type: stemtype://org.eclipse.stem/identifiable1129451
created: 2009-04-27
spatial:
Model UsaMexicoLevel2 Model
uRI: platform:/resource/UsaMexico/models/UsaMexicoLevel2.model
typeURI: stemtype://org.eclipse.stem/Model
Dublin Core title:
identifier: platform:/resource/UsaMexico/models/UsaMexicoLevel2.model
description: Model "UsaMexicoLevel2"
creator: edlund
format: http:///org/eclipse/stem/core/model.ecore
type: stemtype://org.eclipse.stem/Model
created: 2009-04-27
required:
Graph USA_1_USA_2 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/air/USA_1_USA_2.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: Air transport between USA Counties (2) and USA States (1)
identifier: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/air/USA_1_USA_2.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: USA:1_2/
subject: Edge:air
type: stemtype://org.eclipse.stem/Graph
valid: start=2006-01-01; end=2006-12-31;
Graph USA_0_USA_1 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/air/USA_0_USA_1.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: Air transport between USA States (1) and USA (0)
identifier: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/air/USA_0_USA_1.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: USA:0_1/
subject: Edge:air
type: stemtype://org.eclipse.stem/Graph
valid: start=2006-01-01; end=2006-12-31;
Graph MEX_1_MEX_2 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/air/MEX_1_MEX_2.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: Air transport between MEX(1) and MEX(2)
identifier: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/air/MEX_1_MEX_2.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: MEX:1_2/
subject: Edge:air
type: stemtype://org.eclipse.stem/Graph
valid: start=2000-01-01; end=2008-12-31;
Graph MEX_0_MEX_1 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/air/MEX_0_MEX_1.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: Air transport between MEX(0) and MEX(1)
identifier: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/air/MEX_0_MEX_1.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: MEX:0_1/
subject: Edge:air
type: stemtype://org.eclipse.stem/Graph
valid: start=2000-01-01; end=2008-12-31;
Graph ZZZ_-1_ZZZ_0 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/air/ZZZ_-1_ZZZ_0.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: Air transport between ZZZ(-1) and ZZZ(0)
identifier: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/air/ZZZ_-1_ZZZ_0.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: ZZZ:-1_0/
subject: Edge:air
type: stemtype://org.eclipse.stem/Graph
valid: start=2000-01-01; end=2008-12-31;
Graph USA_2_USA_2 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/road/USA_2_USA_2.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: Road Transportation Network (2004) for USA Level 2
identifier: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/road/USA_2_USA_2.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: USA:2/
subject: Edge:road
type: stemtype://org.eclipse.stem/Graph
valid: start=2004-01-01;
Graph MEX_2_MEX_2 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/road/MEX_2_MEX_2.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: Road Transportation Network (2001) for MEX_2
identifier: platform:/plugin/org.eclipse.stem.data.geography.infrastructure.transportation/resources/data/relationship/road/MEX_2_MEX_2.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: MEX:2/
subject: Edge:road
type: stemtype://org.eclipse.stem/Graph
valid: start=2001-01-01;
Graph USA_2_area Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/USA/USA_2_area.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: The area (km^2) for all USA Counties (except Puerto Rico)
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/USA/USA_2_area.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: USA:2/
source: http://www.census.gov/geo/www/tiger/
subject: Label:area
type: stemtype://org.eclipse.stem/Graph
valid: start=1900-01-01;
Graph USA_2 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/USA/USA_2.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: All USA Counties (2) (except Puerto Rico)
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/USA/USA_2.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: USA:2/
source: http://www.iso.org/iso/home.htm
subject: Node:region
type: stemtype://org.eclipse.stem/Graph
spatial: platform:/plugin/org.eclipse.stem.data.geography/resources/data/geo/country/USA/USA_2_MAP.xml
valid: start=1900-01-01;
Graph USA_1 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/USA/USA_1.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: All USA States (1) (except Puerto Rico)
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/USA/USA_1.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: USA:1/
source: http://www.iso.org/iso/home.htm
subject: Node:region
type: stemtype://org.eclipse.stem/Graph
spatial: platform:/plugin/org.eclipse.stem.data.geography/resources/data/geo/country/USA/USA_1_MAP.xml
valid: start=1900-01-01;
Graph USA_0 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/USA/USA_0.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: The USA (0)
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/USA/USA_0.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: USA:0/
source: http://www.iso.org/iso/home.htm
subject: Node:region
type: stemtype://org.eclipse.stem/Graph
spatial: platform:/plugin/org.eclipse.stem.data.geography/resources/data/geo/country/USA/USA_0_MAP.xml
valid: start=1900-01-01;
Graph MEX_2_area Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/MEX/MEX_2_area.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: MEX (2) area
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/MEX/MEX_2_area.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: MEX:2/
source: Mexican Government
subject: Label:area
type: stemtype://org.eclipse.stem/Graph
valid: start=2009-01-01;
Graph MEX_2 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/MEX/MEX_2.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: All MEX (level 2)
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/MEX/MEX_2.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: MEX:2/
source: http://en.wikipedia.org/wiki/ISO_3166-2
subject: Node:region
type: stemtype://org.eclipse.stem/Graph
spatial: platform:/plugin/org.eclipse.stem.data.geography/resources/data/geo/country/MEX/MEX_2_MAP.xml
valid: start=2000-01-01;
Graph MEX_1 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/MEX/MEX_1.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: All MEX (level 1)
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/MEX/MEX_1.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: MEX:1/
source: http://en.wikipedia.org/wiki/ISO_3166-2
subject: Node:region
type: stemtype://org.eclipse.stem/Graph
spatial: platform:/plugin/org.eclipse.stem.data.geography/resources/data/geo/country/MEX/MEX_1_MAP.xml
valid: start=2000-01-01;
Graph MEX_0 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/MEX/MEX_0.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: MEX(0) Nodes
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/country/MEX/MEX_0.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: MEX:0/
source: http://www.iso.org/iso/home.htm
subject: Node:region
type: stemtype://org.eclipse.stem/Graph
spatial: platform:/plugin/org.eclipse.stem.data.geography/resources/data/geo/country/MEX/MEX_0_MAP.xml
valid: start=1900-01-01;
Graph USA_2_USA_2 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/relationship/commonborder/USA_2_USA_2.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: Common Border relationship within country USA
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/relationship/commonborder/USA_2_USA_2.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: USA:2/
subject: Edge:commonborder
type: stemtype://org.eclipse.stem/Graph
valid: start=2006-01-01;
Graph MEX_2_MEX_2 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/relationship/commonborder/MEX_2_MEX_2.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: Common Border relationship within country MEX
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/relationship/commonborder/MEX_2_MEX_2.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: MEX:2/
subject: Edge:commonborder
type: stemtype://org.eclipse.stem/Graph
valid: start=2001-01-01;
Graph USA_1_USA_2 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/relationship/relativephysical/USA_1_USA_2.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: Physical containment of the Counties of The United States (2) by the States of The United States (1)
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/relationship/relativephysical/USA_1_USA_2.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: USA:1_2/
source: http://www.ibm.com
subject: Edge:relativephysical
type: stemtype://org.eclipse.stem/Graph
valid: start=1900-01-01;
Graph USA_0_USA_1 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/relationship/relativephysical/USA_0_USA_1.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: Physical containment of the States (1) by USA (0)
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/relationship/relativephysical/USA_0_USA_1.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: USA:0_1/
source: http://www.ibm.com
subject: Edge:relativephysical
type: stemtype://org.eclipse.stem/Graph
valid: start=1900-01-01;
Graph MEX_1_MEX_2 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/relationship/relativephysical/MEX_1_MEX_2.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: Physical containment of MEX level (2) by MEX (1)
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/relationship/relativephysical/MEX_1_MEX_2.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: MEX:1_2/
source: http://www.ibm.com
subject: Edge:relativephysical
type: stemtype://org.eclipse.stem/Graph
valid: start=2000-01-01;
Graph MEX_0_MEX_1 Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography/resources/data/relationship/relativephysical/MEX_0_MEX_1.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: Physical containment of MEX level (1) by MEX (0)
identifier: platform:/plugin/org.eclipse.stem.data.geography/resources/data/relationship/relativephysical/MEX_0_MEX_1.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: MEX:0_1/
source: http://www.ibm.com
subject: Edge:relativephysical
type: stemtype://org.eclipse.stem/Graph
valid: start=1900-01-01;
Graph USA_2_human_2000_population Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography.population.human/resources/data/country/USA/USA_2_human_2000_population.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: The 2000 Human population for all USA Counties (except Puerto Rico)
identifier: platform:/plugin/org.eclipse.stem.data.geography.population.human/resources/data/country/USA/USA_2_human_2000_population.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: USA:2/
source: http://www.census.gov/geo/www/tiger/
subject: Label:population
type: stemtype://org.eclipse.stem/Graph
valid: start=2000-01-01; end=2000-12-31;
Graph MEX_2_human_2006_population Graph
uRI: platform:/plugin/org.eclipse.stem.data.geography.population.human/resources/data/country/MEX/MEX_2_human_2006_population.graph
typeURI: stemtype://org.eclipse.stem/Graph
Dublin Core title: MEX (2) population
identifier: platform:/plugin/org.eclipse.stem.data.geography.population.human/resources/data/country/MEX/MEX_2_human_2006_population.graph
description:
format: http:///org/eclipse/stem/core/graph.ecore
coverage: MEX:2/
source: Primary (http://www.grid.unep.ch/data/data.php?category=human_related).
subject: Label:population
type: stemtype://org.eclipse.stem/Graph
valid: start=2006-01-01; end=2006-12-31;

Back to the top