CPC G06F 8/36 (2013.01) [G06F 8/10 (2013.01); G06F 8/77 (2013.01)] | 32 Claims |
1. A method, comprising:
for a model comprising model elements, at least some of the model elements being blocks, the model being executable in a modeling environment:
identifying a pattern comprising at least two blocks and representing one or more computations being executable in the modeling environment, the one or more computations being associated with operation or behavior of a real-world system;
identifying one or more objectives for the pattern or the model, the one or more objectives comprising computer memory usage, execution efficiency, and/or execution performance;
based on the one or more objectives and the one or more computations represented by the pattern, identifying one or more alternative patterns that represent the one or more computations, the one or more alternative patterns being semantically equivalent but syntactically and/or structurally different from the pattern; and
providing a recommendation on replacing the pattern with one of the one or more alternative patterns based on the one or more objectives and respective metric data associated with the pattern and each of the one or more alternative patterns, the metric data comprising computer memory usage data, complexity data, and/or compliance violation data, or
providing the one or more alternative patterns and the respective metric data associated with the pattern and each of the one or more alternative patterns for allowing a user to choose between the one or more alternative patterns, or
selecting one of the one or more alternative patterns based on the one or more objectives and the respective metric data associated with the pattern and each of the one or more alternative patterns for achieving the one or more objectives.
|