Class DeltaConstraintSolver

    • Method Detail

      • resolveConflicts

        public void resolveConflicts()
                              throws KernelException
        Resolve the concept values for the toplevel entity that contains this solver, given the model analyzer that invokes this. Then, if some concepts resolved to unacceptable values, calculate the set of inequality terms that cause the unacceptable values. Note: This has different behavior from resolveConcepts() in the superclass. Call the superclass resolveConcepts() to calculate concepts for all applicable elements in the model.
        Throws:
        KernelException - If the _resolveProperties method throws it.
      • _resolvePropertiesHasErrors

        protected boolean _resolvePropertiesHasErrors​(NamedObj toplevel,
                                                      java.util.List<Inequality> constraintList)
                                               throws IllegalActionException
        Resolve the properties of the given top-level container, subject to the given constraint list, and then check if the resulting solution has errors.
        Parameters:
        toplevel - The top-level container
        constraintList - The constraint list that we are solving
        Returns:
        True If the found solution has errors.
        Throws:
        IllegalActionException - If the superclass method getAllPropertyables() throws it
        OntologyResolutionException - If the superclass method _resolveProperties() throws it