Reflexion models may also be computed using a
series of command-line tools. Computing a reflexion model using these
tools involves three steps:
- compiling the mapping file,
- pushing the source model values through the map to create an
induced high-level model,
- comparing the induced high-level model to the original high-level
model.
The textual description of the computed reflexion model is output.
This description may also be output in dot format for display with
AT&T's graphviz package.
To compile a mapping file, execute:
java -Dml2map.structFilename=<filename>
-Dml2map.mapFilename=<filename>
-Dml2map.compiledMapFilename=<filename>
jRMTool.map.Ml2map
where:
- structFilename specifies the structure description file to use,
- mapFilename specifies the mapping file to use, and
- compiledMapFilename specifies the file in which to output a
compiled version of the map.
Two optional properties are also available:
- -Dml2map.version which reports version information
- -Dml2map.debug which turns on debugging information
To map the source model, execute:
java -Dcompute.compiledMapFilename=<filename>
-Dcompute.sourceModelFilename=<filename>
-Dcompute.errorFilename=<filename>
-Dcompute.infoFilename=<filename>
-Dcompute.inducedHLMFilename=<filename>
jRMTool.compute.Compute
where:
- compiledMapFilename specifies the compiled map to use
- sourceModelFilename specifies the source model to use
- errorFilename specifies the name of a file in which to leave
information about all unmapped source model entities
- infoFilename specifies the name of a file in which to leave
information about which source model entities mapped to which
high-level model entities
- inducedHLMFilename specifies the name of a file in which to leave
the induced high-level model
Three optional properties are also available:
- -Dcompute.version reports version information
- -Dcompute.debug[=level] reports debugging information
- -Dcompute.noOptimize causes the tool to refrain from optimizing
regular expression comparisons
To form a RM, execute:
java -DmakeRM.HLMFilename=<filename>
-DmakeRM.inducedHLMFilename=<filename>
-DmakeRM.RMFilename=<filename>
jRMTool.model.MakeRM
where:
- HLMFilename specifies the high-level model to use
- inducedHLMFilename specifies the result of the mapping the source
model step
- RMFilename specifies the name of a file in which to leave a
textual description of the computed reflexion model
Four optional properties are also available:
- -DmakeRM.version reports version information
- -DmakeRM.debug[=level] reports debugging information
- -DmakeRM.configFilename=<filename> specifies the name of a
file to use to visually configure the reflexion model (dot format)
- -DmakeRM.RMDotFilename=<filename> specifies the name of a
file in which to leave a "dot" version of the computed
reflexion model for display.
Last Updated on: March 13, 2001
Contact murphy@cs.ubc.ca for more
information or any problems with this page.
|