public class FreeVariableModelAnalysis
extends java.lang.Object
Constructor and Description |
---|
FreeVariableModelAnalysis(Entity model)
Analyze the given model to return a set of names which must
be defined externally for the model to be completely specified.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set |
getFreeVariables(Entity entity)
Return the computed free variables for the given entity.
|
public FreeVariableModelAnalysis(Entity model) throws IllegalActionException
model
- The model that will be analyzed.IllegalActionException
- If an exception occurs
during analysis.public java.util.Set getFreeVariables(Entity entity)
entity
- An entity, which must be deeply contained by the
model for which this analysis was created.java.lang.RuntimeException
- If the free variables for the
entity have not already been computed.