Difference between revisions of "Config:ContextConfig"
From SUMOwiki
Jump to navigationJump to searchm |
m |
||
Line 1: | Line 1: | ||
== ContextConfig == | == ContextConfig == | ||
=== OutputDirectory === | === OutputDirectory === | ||
+ | TODO OutputDirectory DOC | ||
+ | <source xmlns:saxon="http://icl.com/saxon" lang="xml"> | ||
− | <source lang="xml"> | + | <!--TODO OutputDirectory DOC--> |
− | <Option key="saveModels" value="true"/> | + | <[[Config:OutputDirectory|OutputDirectory]]>output</[[Config:OutputDirectory|OutputDirectory]]></source> |
− | </source> | + | === Custom Options === |
+ | Available options: | ||
+ | <source xmlns:saxon="http://icl.com/saxon" lang="xml"> | ||
+ | |||
+ | <!--save model to disk as Matlab .mat file--> | ||
+ | <Option key="saveModels" value="true"/></source> | ||
=== PlotOptions === | === PlotOptions === | ||
− | + | TODO PlotOptions DOC | |
− | <source lang="xml"> | + | <source xmlns:saxon="http://icl.com/saxon" lang="xml"> |
+ | |||
+ | <!--TODO PlotOptions DOC--> | ||
<[[Config:PlotOptions|PlotOptions]]> | <[[Config:PlotOptions|PlotOptions]]> | ||
+ | |||
+ | <!-- do any plot at all ? --> | ||
<Option key="plotModels" value="true"/> | <Option key="plotModels" value="true"/> | ||
+ | |||
+ | <!-- contours, only available for 2 dimensions --> | ||
+ | <!-- plot contours on same plot as model --> | ||
<Option key="withContour" value="true"/> | <Option key="withContour" value="true"/> | ||
+ | <!-- plot separate contour of model, never saved to disk --> | ||
<Option key="plotContour" value="false"/> | <Option key="plotContour" value="false"/> | ||
+ | |||
+ | <!-- | ||
+ | <Option key="plotPoints" value="true"/> | ||
+ | <Option key="lighting" value="false"/> | ||
+ | <Option key="slices" value="3"/> | ||
+ | <Option key="grayScale" value="false"/> | ||
+ | <Option key="meshSize" value="41"/> | ||
+ | <Option key="fontSize" value="14"/> | ||
+ | <Option key="logScale" value="false"/> | ||
+ | --> | ||
+ | |||
+ | <!-- Save all plots to disk --> | ||
<Option key="saveModelPlots" value="true"/> | <Option key="saveModelPlots" value="true"/> | ||
+ | <!-- Output file format of the plot: png (default),eps,bmp,jpg,... --> | ||
<Option key="outputType" value="png"/> | <Option key="outputType" value="png"/> | ||
− | </[[Config:PlotOptions|PlotOptions]]> | + | </[[Config:PlotOptions|PlotOptions]]></source> |
− | </source> | ||
=== Path === | === Path === | ||
Empty by default, but a user can add directories to the path as he wishes. | Empty by default, but a user can add directories to the path as he wishes. | ||
− | <source lang="xml"> | + | <source xmlns:saxon="http://icl.com/saxon" lang="xml"> |
− | <[[Config:Path|Path]]></[[Config:Path|Path]]> | + | |
− | </source> | + | <!--Empty by default, but a user can add directories to the path as he wishes.--> |
+ | <[[Config:Path|Path]]> | ||
+ | <!--AddPath recurse="true">/home/myPath</[[Config:AddPath|AddPath]]--> | ||
+ | </[[Config:Path|Path]]></source> | ||
=== Profiling === | === 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. | + | Configuration options for the profiler: 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. |
− | <source lang="xml"> | + | <source xmlns:saxon="http://icl.com/saxon" lang="xml"> |
+ | |||
+ | <!--Configuration options for the profiler: Within a profiler block, one or more <[[Config:Output|Output]] type="[[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:Profiling|Profiling]]> | ||
+ | <!-- Only enable if you are using levelplots --> | ||
<[[Config:Profiler|Profiler]] name="LevelPlotProfiler.*" enabled="false"> | <[[Config:Profiler|Profiler]] name="LevelPlotProfiler.*" enabled="false"> | ||
− | <[[Config:Output|Output]] type="Docked"> | + | <[[Config:Output|Output]] type="[[Output#Docked|Docked]]"> |
<Option key="chartType" value="level"/> | <Option key="chartType" value="level"/> | ||
</[[Config:Output|Output]]> | </[[Config:Output|Output]]> | ||
− | <[[Config:Output|Output]] type="toImage"> | + | <[[Config:Output|Output]] type="[[Output#toImage|toImage]]"> |
<Option key="chartType" value="level"/> | <Option key="chartType" value="level"/> | ||
</[[Config:Output|Output]]> | </[[Config:Output|Output]]> | ||
− | <[[Config:Output|Output]] type="toFile"/> | + | <[[Config:Output|Output]] type="[[Output#toFile|toFile]]"/> |
</[[Config:Profiler|Profiler]]> | </[[Config:Profiler|Profiler]]> | ||
+ | |||
+ | <!-- | ||
+ | You can restrict the available profilers to use by specifying a wildcard | ||
+ | to disable the docked output if you dont want a window containing all the profilers. | ||
+ | To select all profilers, simply put ".*" | ||
+ | --> | ||
<[[Config:Profiler|Profiler]] name=".*Measure.*|.*BestModel.*|.*ElapsedTime.*|.*Resources.*" enabled="true"> | <[[Config:Profiler|Profiler]] name=".*Measure.*|.*BestModel.*|.*ElapsedTime.*|.*Resources.*" enabled="true"> | ||
− | <[[Config:Output|Output]] type="Docked"/> | + | <[[Config:Output|Output]] type="[[Output#Docked|Docked]]"/> |
− | <[[Config:Output|Output]] type="toImage"/> | + | <[[Config:Output|Output]] type="[[Output#toImage|toImage]]"/> |
− | <[[Config:Output|Output]] type="toFile"/> | + | <[[Config:Output|Output]] type="[[Output#toFile|toFile]]"/> |
</[[Config:Profiler|Profiler]]> | </[[Config:Profiler|Profiler]]> | ||
− | </[[Config:Profiling|Profiling]]> | + | |
− | </source> | + | </[[Config:Profiling|Profiling]]></source> |
Revision as of 13:53, 13 February 2008
ContextConfig
OutputDirectory
TODO OutputDirectory DOC
<!--TODO OutputDirectory DOC-->
<[[Config:OutputDirectory|OutputDirectory]]>output</[[Config:OutputDirectory|OutputDirectory]]>
Custom Options
Available options:
<!--save model to disk as Matlab .mat file-->
<Option key="saveModels" value="true"/>
PlotOptions
TODO PlotOptions DOC
<!--TODO PlotOptions DOC-->
<[[Config:PlotOptions|PlotOptions]]>
<!-- do any plot at all ? -->
<Option key="plotModels" value="true"/>
<!-- contours, only available for 2 dimensions -->
<!-- plot contours on same plot as model -->
<Option key="withContour" value="true"/>
<!-- plot separate contour of model, never saved to disk -->
<Option key="plotContour" value="false"/>
<!--
<Option key="plotPoints" value="true"/>
<Option key="lighting" value="false"/>
<Option key="slices" value="3"/>
<Option key="grayScale" value="false"/>
<Option key="meshSize" value="41"/>
<Option key="fontSize" value="14"/>
<Option key="logScale" value="false"/>
-->
<!-- Save all plots to disk -->
<Option key="saveModelPlots" value="true"/>
<!-- Output file format of the plot: png (default),eps,bmp,jpg,... -->
<Option key="outputType" value="png"/>
</[[Config:PlotOptions|PlotOptions]]>
Path
Empty by default, but a user can add directories to the path as he wishes.
<!--Empty by default, but a user can add directories to the path as he wishes.-->
<[[Config:Path|Path]]>
<!--AddPath recurse="true">/home/myPath</[[Config:AddPath|AddPath]]-->
</[[Config:Path|Path]]>
Profiling
Configuration options for the profiler: 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.
<!--Configuration options for the profiler: Within a profiler block, one or more <[[Config:Output|Output]] type="[[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]]>
<!-- Only enable if you are using levelplots -->
<[[Config:Profiler|Profiler]] name="LevelPlotProfiler.*" enabled="false">
<[[Config:Output|Output]] type="[[Output#Docked|Docked]]">
<Option key="chartType" value="level"/>
</[[Config:Output|Output]]>
<[[Config:Output|Output]] type="[[Output#toImage|toImage]]">
<Option key="chartType" value="level"/>
</[[Config:Output|Output]]>
<[[Config:Output|Output]] type="[[Output#toFile|toFile]]"/>
</[[Config:Profiler|Profiler]]>
<!--
You can restrict the available profilers to use by specifying a wildcard
to disable the docked output if you dont want a window containing all the profilers.
To select all profilers, simply put ".*"
-->
<[[Config:Profiler|Profiler]] name=".*Measure.*|.*BestModel.*|.*ElapsedTime.*|.*Resources.*" enabled="true">
<[[Config:Output|Output]] type="[[Output#Docked|Docked]]"/>
<[[Config:Output|Output]] type="[[Output#toImage|toImage]]"/>
<[[Config:Output|Output]] type="[[Output#toFile|toFile]]"/>
</[[Config:Profiler|Profiler]]>
</[[Config:Profiling|Profiling]]>