Class NonProductLatticeCounterExample


  • public class NonProductLatticeCounterExample
    extends NonLatticeCounterExample
    A data structure that provides counterexample information when a product lattice ontology CPO is tested to see if it is a lattice. If it is not a lattice, it is because at least one of its component ontologies is not a lattice.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Charles Shelton
    Pt.AcceptedRating:
    Red (cshelton)
    Pt.ProposedRating:
    Red (cshelton)
    • Constructor Detail

      • NonProductLatticeCounterExample

        public NonProductLatticeCounterExample​(Ontology subOntology)
        Construct a NonProductLatticeCounterExample object that indicates that the specified sub ontology is not a lattice.
        Parameters:
        subOntology - The sub ontology of the product lattice ontology that is the reason that the product lattice ontology is not a lattice.
    • Method Detail

      • getSubOntology

        public Ontology getSubOntology()
        Return the sub ontology that is the reason the product lattice ontology is not a lattice.
        Returns:
        The sub ontology that is not a valid lattice.