public class SDFModularScheduler extends SDFScheduler
Red (jiazou) |
Red (jiazou) |
NamedObj.ContainedObjectsIterator
_externalRates, _firingVector, _rateVariables, constrainBufferSizes
VERBOSE
_DEFAULT_SCHEDULER_NAME
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
SDFModularScheduler() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map |
_solveBalanceEquations(CompositeActor container,
java.util.List actorList,
java.util.Map externalRates)
Solve the balance equations for the list of connected Actors.
|
java.util.Map |
getFiringVector(CompositeActor container,
int vectorizationFactor)
Get the firing vector for a given container.
|
_checkDynamicRateVariables, _computeMaximumFirings, _countUnfulfilledInputs, _getFiringCount, _getSchedule, _simulateExternalInputs, _simulateInputConsumption, _vectorizeFirings, clone, declareRateDependency, getExternalRates, getFiringCount, valueChanged
_declareDependency, _saveBufferSizes, _saveContainerRates, _saveFiringCounts
getSchedule, isValid, setContainer, setValid
_checkContainer, _getContainedObject, _propagateExistence, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setName, updateContent
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _description, _executeChangeRequests, _exportMoMLContents, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, addHierarchyListener, attributeChanged, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getElementName, getFullName, getModelErrorHandler, getName, getName, getPrototypeList, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateExistence, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, uniqueName, validateSettables, workspace
public java.util.Map getFiringVector(CompositeActor container, int vectorizationFactor) throws IllegalActionException
container
- The container that is being scheduled.vectorizationFactor
- The vectorization factorIllegalActionException
- If thrown while solving the balance equations.protected java.util.Map _solveBalanceEquations(CompositeActor container, java.util.List actorList, java.util.Map externalRates) throws NotSchedulableException, IllegalActionException
_solveBalanceEquations
in class SDFScheduler
container
- The container that is being scheduled.actorList
- The actors that we are interested in.externalRates
- A map from external ports of container to
the fractional rates of that port. This starts out initialized with
Fraction.ZERO and will be populated during this method.NotSchedulableException
- If the graph is not consistent
under the synchronous dataflow model, or if the graph is not connected.IllegalActionException
- If any called method throws it.