Class MultiplyDivide
- java.lang.Object
-
- ptolemy.data.ontologies.OntologyAdapter
-
- ptolemy.data.ontologies.lattice.LatticeOntologyAdapter
-
- ptolemy.data.ontologies.lattice.adapters.defaultAdapters.actor.lib.MultiplyDivide
-
public class MultiplyDivide extends LatticeOntologyAdapter
The default adapter class for ptolemy.actor.lib.MultiplyDivide.- Since:
- Ptolemy II 10.0
- Version:
- $Id$
- Author:
- Charles Shelton
- Pt.AcceptedRating:
- Red (cshelton)
- Pt.ProposedRating:
- Red (cshelton)
-
-
Field Summary
-
Fields inherited from class ptolemy.data.ontologies.lattice.LatticeOntologyAdapter
_ownConstraints, _subAdapterConstraints, _useDefaultConstraints, interconnectConstraintType
-
Fields inherited from class ptolemy.data.ontologies.OntologyAdapter
_annotationEvaluator, _solver
-
-
Constructor Summary
Constructors Constructor Description MultiplyDivide(LatticeOntologySolver solver, MultiplyDivide actor)
Construct a default lattice ontology adapter for the MultiplyDivide actor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Inequality>
constraintList()
Return the list of constraints for the MultiplyDivide actor.-
Methods inherited from class ptolemy.data.ontologies.lattice.LatticeOntologyAdapter
_addDefaultConstraints, _addSubAdapterConstraints, _annotationEvaluator, _constrainAttributes, _constrainObject, _constrainObjectLists, _constrainSingleObject, _getConstrainedPorts, _getConstraintingPorts, _getSubAdapters, _setConnectionConstraintType, _union, getPropertyTerm, getSolver, isConstraintSource, reinitialize, setAtLeast, setAtMost, setSameAs
-
Methods inherited from class ptolemy.data.ontologies.OntologyAdapter
_getASTNodeAdapters, _getAttributeParseTrees, _getPropertyableAttributes, _getSinkPortList, _getSourcePortList, getComponent, getContainerEntity, getName, getParseTree, getPropertyables, putAttribute, setComponent, setEquals, toString
-
-
-
-
Constructor Detail
-
MultiplyDivide
public MultiplyDivide(LatticeOntologySolver solver, MultiplyDivide actor) throws IllegalActionException
Construct a default lattice ontology adapter for the MultiplyDivide actor.- Parameters:
solver
- The given solver.actor
- The given MultiplyDivide actor.- Throws:
IllegalActionException
- If the adapter cannot be initialized.
-
-
Method Detail
-
constraintList
public java.util.List<Inequality> constraintList() throws IllegalActionException
Return the list of constraints for the MultiplyDivide actor.- Overrides:
constraintList
in classLatticeOntologyAdapter
- Returns:
- The list of constraints for this adapter.
- Throws:
IllegalActionException
- If there is an error creating the constraint list.
-
-