public class OptimizingSDFScheduler extends SDFScheduler
See SDFScheduler
and
OptimizingSDFDirector
for more information.
SDFScheduler
,
OptimizingSDFDirector
Red () |
Red (mgeilen) |
NamedObj.ContainedObjectsIterator
Modifier and Type | Field and Description |
---|---|
OptimizingSDFDirector.OptimizationCriteria |
optimizationCriterion
The optimization criterion to use.
|
_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 |
---|
OptimizingSDFScheduler(OptimizingSDFDirector container,
java.lang.String name,
OptimizingSDFDirector.OptimizationCriteria crit)
Construct an instance of an OptimizingSDFScheduler.
|
Modifier and Type | Method and Description |
---|---|
protected Schedule |
_getSchedule()
Return the scheduling sequence.
|
void |
showDebug(java.lang.String message)
Print a debug message.
|
_checkDynamicRateVariables, _computeMaximumFirings, _countUnfulfilledInputs, _getFiringCount, _simulateExternalInputs, _simulateInputConsumption, _solveBalanceEquations, _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 OptimizingSDFDirector.OptimizationCriteria optimizationCriterion
public OptimizingSDFScheduler(OptimizingSDFDirector container, java.lang.String name, OptimizingSDFDirector.OptimizationCriteria crit) throws IllegalActionException, NameDuplicationException
container
- containername
- namecrit
- optimization criterionIllegalActionException
NameDuplicationException
protected Schedule _getSchedule() throws NotSchedulableException, IllegalActionException
_getSchedule
in class SDFScheduler
NotSchedulableException
- If the rates specified for
the model imply that the model is not statically schedulable.IllegalActionException
- If the rate parameters
of the model are not correct, or the computed rates for
external ports are not correct.CompositeEntity.deepEntityList()
public void showDebug(java.lang.String message)
message
- message to display