Config:ContextConfig: Difference between revisions

From SUMOwiki
Jump to navigationJump to search
(New page: == ContextConfig == === OutputDirectory === <source lang="xml"> <OutputDirectory>output</OutputDirectory> </source> === PlotOpti...)
 
mNo edit summary
Line 1: Line 1:
== ContextConfig ==
== ContextConfig ==
=== OutputDirectory ===
=== OutputDirectory ===


<source lang="xml">
<source lang="xml">
  <[[Config:OutputDirectory|OutputDirectory]]>output</[[Config:OutputDirectory|OutputDirectory]]>
<Option key="saveModels" value="true"/>
</source>
</source>
=== PlotOptions ===
=== PlotOptions ===
save model to disk as Matlab .mat file
save model to disk as Matlab .mat file
<source lang="xml">
<source lang="xml">
  <[[Config:PlotOptions|PlotOptions]]>
<[[Config:PlotOptions|PlotOptions]]>
      <Option key="plotModels" value="true"/>
  <Option key="plotModels" value="true"/>
      <Option key="withContour" value="true"/>
  <Option key="withContour" value="true"/>
      <Option key="plotContour" value="false"/>
  <Option key="plotContour" value="false"/>
      <Option key="saveModelPlots" value="true"/>
  <Option key="saveModelPlots" value="true"/>
      <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 lang="xml">
  <[[Config:Path|Path]]>
<[[Config:Path|Path]]></[[Config:Path|Path]]>
  </[[Config:Path|Path]]>
</source>
</source>
=== Profiling ===
=== Profiling ===
Within a profiler block, one or more &lt;Output type="type"/&gt; 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.
Within a profiler block, one or more &lt;Output type="type"/&gt; 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 lang="xml">
  <[[Config:Profiling|Profiling]]>
<[[Config:Profiling|Profiling]]>
      <[[Config:Profiler|Profiler]] name="LevelPlotProfiler.*" enabled="false">
  <[[Config:Profiler|Profiler]] name="LevelPlotProfiler.*" enabled="false">
        <[[Config:Output|Output]] type="Docked">
      <[[Config:Output|Output]] type="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="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="toFile"/>
      </[[Config:Profiler|Profiler]]>
  </[[Config:Profiler|Profiler]]>
      <[[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="Docked"/>
        <[[Config:Output|Output]] type="toImage"/>
      <[[Config:Output|Output]] type="toImage"/>
        <[[Config:Output|Output]] type="toFile"/>
      <[[Config:Output|Output]] type="toFile"/>
      </[[Config:Profiler|Profiler]]>
  </[[Config:Profiler|Profiler]]>
</[[Config:Profiling|Profiling]]>
  </[[Config:Profiling|Profiling]]>
</source>
</source>

Revision as of 09:50, 7 February 2008

ContextConfig

OutputDirectory

<Option key="saveModels" value="true"/>

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]]>