public class ModelUtilities extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static RecordToken |
executeModel(CompositeActor model,
RecordToken args,
java.lang.String[] resultLabels)
This method takes model argument which is type of CompositeActor.
|
static RecordToken |
executeModel(java.net.URL url,
RecordToken args,
java.lang.String[] resultLabels)
This method takes a url specifying the model to be execute.
|
public static RecordToken executeModel(java.net.URL url, RecordToken args, java.lang.String[] resultLabels) throws IllegalActionException
url - The Model url.args - A set of attributes of the specified model.resultLabels - Labels of the returned result.IllegalActionException - If can not parse the url
or failed to execute the model.public static RecordToken executeModel(CompositeActor model, RecordToken args, java.lang.String[] resultLabels) throws IllegalActionException
model - The Model.args - A set of attributes of the specified model.resultLabels - Labels of the returned result.IllegalActionException - If failed to execute the model.