Class ProductLatticeOntologyASTNodeAdapter


  • public class ProductLatticeOntologyASTNodeAdapter
    extends LatticeOntologyASTNodeAdapter
    A product lattice-based ontology adapter for Ptolemy expression language AST nodes 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

      • ProductLatticeOntologyASTNodeAdapter

        public ProductLatticeOntologyASTNodeAdapter​(ProductLatticeOntologySolver solver,
                                                    ASTPtRootNode node)
                                             throws IllegalActionException
        Construct the product lattice ontology adapter associated with the given AST node.
        Parameters:
        solver - The product lattice-based ontology solver for this adapter.
        node - The given AST node.
        Throws:
        IllegalActionException - Thrown if the adapter cannot be created.
      • ProductLatticeOntologyASTNodeAdapter

        public ProductLatticeOntologyASTNodeAdapter​(ProductLatticeOntologySolver solver,
                                                    ASTPtRootNode node,
                                                    boolean useDefaultConstraints)
                                             throws IllegalActionException
        Construct the product lattice ontology adapter for the given product lattice ontology solver and AST node.
        Parameters:
        solver - The product lattice-based ontology solver for this adapter.
        node - The given AST node.
        useDefaultConstraints - Indicate whether this adapter uses the default actor constraints.
        Throws:
        IllegalActionException - Thrown if the adapter cannot be created.