Config:ContextConfig
From SUMOwiki
Revision as of 13:11, 6 February 2008 by Icouckuy (talk | contribs) (New page: == ContextConfig == === OutputDirectory === <source lang="xml"> <OutputDirectory>output</OutputDirectory> </source> === PlotOpti...)
ContextConfig
OutputDirectory
<[[Config:OutputDirectory|OutputDirectory]]>output</[[Config:OutputDirectory|OutputDirectory]]>
PlotOptions
save model to disk as Matlab .mat file
<[[Config:PlotOptions|PlotOptions]]>
<Option key="plotModels" value="true"/>
<Option key="withContour" value="true"/>
<Option key="plotContour" value="false"/>
<Option key="saveModelPlots" value="true"/>
<Option key="outputType" value="png"/>
</[[Config:PlotOptions|PlotOptions]]>
Path
Empty by default, but a user can add directories to the path as he wishes.
<[[Config:Path|Path]]>
</[[Config:Path|Path]]>
Profiling
Within a profiler block, one or more <Output type="type"/> specifiers should be present. Possible types are toFile, toPanel, Docked, and toImage. When using the toPanel, Docked, and toImage output specifiers, an extra `chartType' option can be used. See the types present in the Docked view to see which types are available.
<[[Config:Profiling|Profiling]]>
<[[Config:Profiler|Profiler]] name="LevelPlotProfiler.*" enabled="false">
<[[Config:Output|Output]] type="Docked">
<Option key="chartType" value="level"/>
</[[Config:Output|Output]]>
<[[Config:Output|Output]] type="toImage">
<Option key="chartType" value="level"/>
</[[Config:Output|Output]]>
<[[Config:Output|Output]] type="toFile"/>
</[[Config:Profiler|Profiler]]>
<[[Config:Profiler|Profiler]] name=".*Measure.*|.*BestModel.*|.*ElapsedTime.*|.*Resources.*" enabled="true">
<[[Config:Output|Output]] type="Docked"/>
<[[Config:Output|Output]] type="toImage"/>
<[[Config:Output|Output]] type="toFile"/>
</[[Config:Profiler|Profiler]]>
</[[Config:Profiling|Profiling]]>