Class ProductLatticeOntologyCompositeAdapter


  • public class ProductLatticeOntologyCompositeAdapter
    extends LatticeOntologyCompositeAdapter
    A product lattice-based ontology adapter for composite actors whose constraints are derived from the component ontology solvers.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Charles Shelton
    Pt.AcceptedRating:
    Red (cshelton)
    Pt.ProposedRating:
    Red (cshelton)
    • Constructor Detail

      • ProductLatticeOntologyCompositeAdapter

        public ProductLatticeOntologyCompositeAdapter​(ProductLatticeOntologySolver solver,
                                                      CompositeEntity component)
                                               throws IllegalActionException
        Construct the product lattice ontology adapter associated with the given composite actor.
        Parameters:
        solver - The product lattice-based ontology solver for this adapter.
        component - The given composite actor.
        Throws:
        IllegalActionException - Thrown if the adapter cannot be created.
    • Method Detail

      • _addInterConnectionConstraints

        protected void _addInterConnectionConstraints()
                                               throws IllegalActionException
        Add all the constraints between actors inside the composite actor referenced by this adapter. In this derived class for ProductLatticeOntologies this method does nothing because the ProductLatticeOntologyAdapter's constraints are generated by composing the constraints of the component LatticeOntologyAdapters.
        Overrides:
        _addInterConnectionConstraints in class LatticeOntologyCompositeAdapter
        Throws:
        IllegalActionException - Not thrown in this derived class.