|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.actor.gt.GraphAnalyzer
ptolemy.actor.gt.GraphMatcher.ParameterIterator
private class GraphMatcher.ParameterIterator
A class of objects used to iterate over all possible values of the value
iterators (object in class ValueIterator
) in a given composite
entity.
Red (tfeng) |
Yellow (tfeng) |
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ptolemy.actor.gt.GraphAnalyzer |
---|
GraphAnalyzer.IndexedList, GraphAnalyzer.IndexedLists, GraphAnalyzer.Path |
Field Summary | |
---|---|
private boolean |
_firstTime
Whether next() is invoked the first time |
private java.util.List<ValueIterator> |
_valueIterators
The value iterators in the entity provided to the constructor. |
Constructor Summary | |
---|---|
GraphMatcher.ParameterIterator(ComponentEntity entity)
Construct a parameter iterator for the given entity, so that all the value iterators in it are found, whose values will be iteratively tries. |
Method Summary | |
---|---|
private void |
_computeNext()
Compute the next set of values and store them in the value iterators. |
protected boolean |
_isOpaque(CompositeEntity entity)
Return whether a composite entity is opaque. |
protected boolean |
_relationCollapsing(NamedObj container)
Return whether multiple interconnected relations in the container should be collapsed and considered as one. |
boolean |
next()
Set the values of value iterators in the composite entity with the next set of allowable values. |
Methods inherited from class ptolemy.actor.gt.GraphAnalyzer |
---|
_isIgnored, findFirstChild, findFirstPath, findNextChild, findNextPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private boolean _firstTime
private java.util.List<ValueIterator> _valueIterators
Constructor Detail |
---|
GraphMatcher.ParameterIterator(ComponentEntity entity) throws IllegalActionException
entity
- The entity.
IllegalActionException
- If values of some value iterators
cannot be retrieved.Method Detail |
---|
public boolean next()
protected boolean _isOpaque(CompositeEntity entity)
_isOpaque
in class GraphAnalyzer
entity
- The entity to test.
protected boolean _relationCollapsing(NamedObj container)
_relationCollapsing
in class GraphAnalyzer
container
- The container.
private void _computeNext()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |