|
| Re: How ECL script recognize models to compare [message #551097 is a reply to message #551058] |
Thu, 05 August 2010 04:30  |
Louis Rose Messages: 427 Registered: July 2009 Location: York, United Kingdom |
Senior Member |
|
|
Hi Lukman,
The name given to a model in the runtime configuration is used to access the types of that model using the following syntax:
So I would suggest changing the ECL script to this:
rule CheckBisimulation
match originalModel:A!StateMachine
with refactoredModel:B!StateMachine{
compare:checkBisimulation(originalModel,refactoredModel)
do{'The models are bisimilar'.println();}
}
Which is read as: "The rule CheckBismulation matches StateMachines of model A and StateMachines of model B..."
Cheers,
Louis.
|
|
|
Powered by
FUDForum. Page generated in 0.01636 seconds