public class ProductLatticeOntologySolver extends LatticeOntologySolver
LatticeOntologySolver
that specially handles adapters for
ProductLatticeOntologies.LatticeOntologySolver.ConstraintType
NamedObj.ContainedObjectsIterator
_initialConstraintList, _resolvedConstraintList, _resolvedUnacceptableList, ADD_FUNCTION_NAME, AND_FUNCTION_NAME, DIVIDE_FUNCTION_NAME, MULTIPLY_FUNCTION_NAME, NEGATE_FUNCTION_NAME, NOT_FUNCTION_NAME, OR_FUNCTION_NAME, RECIPROCAL_FUNCTION_NAME, solverStrategy, solvingFixedPoint, SUBTRACT_FUNCTION_NAME
_eol, _momlHandler
_adapterStore, _nonSettables, _ontologySolverUtilities, _resolvedProperties, ontologySolverUtilitiesWrapper
_model, modelURL
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
ProductLatticeOntologySolver(NamedObj container,
java.lang.String name)
Constructor for the ProductLatticeOntologySolver.
|
Modifier and Type | Method and Description |
---|---|
protected OntologyAdapter |
_getAdapter(java.lang.Object component)
Return the LatticeOntologyAdapter for the specified
component.
|
java.util.List<LatticeOntologySolver> |
getAllContainedOntologySolvers()
Return all the LatticeOntologySolvers contained in the ProductLatticeOntologySolver's
model.
|
ProductLatticeOntology |
getOntology()
Return the product lattice ontology for this constraint solver.
|
LatticeOntologySolver |
getRelatedSolver(Ontology containedOntology)
Return the LatticeOntologySolver associated with the given ontology that
is contained in the ProductLatticeOntologySolver model, or null if there
is none.
|
void |
initialize()
Initialize the solver: Reset the solver (superclass) and then collect
all of the initial constraints from the model.
|
void |
reset()
Reset the solver.
|
_clearLists, _getConceptTermManager, _getConstraintType, _resolveConcepts, clone, getAdapter, getAdapter, getAdapter, getAffectedTerms, getConceptTerm, getConceptTermManager, getConstraintManager, getInitialSolverInformation, getResolvedSolverInformation, getUnacceptableTerms, getUnacceptableTermsAsString, hasUnacceptableTerms, isAnnotatedTerm, isLeastFixedPoint, resolveConcepts, test, train
checkErrors, checkResolutionErrors, configure, displayConcepts, getMoMLHandler, invokeSolver, invokeSolver, isSettable
_getAdapter, _getPackageName, _toplevel, cleanConstants, clearResolvedConcept, getAllAdapters, getAllConceptableNamedObjs, getAllContainedOntologies, getAllPropertyables, getAllSolvers, getAttribute, getConcept, getOntologySolverUtilities, getParser, getParseTree, markAsNonSettable, resetAll, setConcept, setOntologySolverUtilities
_exportMoMLContents, attributeChanged, getConfigureSource, getConfigureText, getContainedModel
_checkContainer, _getContainedObject, _propagateExistence, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _description, _executeChangeRequests, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, addHierarchyListener, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getElementName, getFullName, getModelErrorHandler, getName, getName, getPrototypeList, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateExistence, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, uniqueName, validateSettables, workspace
public ProductLatticeOntologySolver(NamedObj container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- The model that contains the OntologySolvername
- The name of the OntologySolverIllegalActionException
- If there is any problem creating the
OntologySolver object.NameDuplicationException
- If there is already a component
in the container with the same namepublic java.util.List<LatticeOntologySolver> getAllContainedOntologySolvers()
public ProductLatticeOntology getOntology() throws IllegalActionException
getOntology
in class OntologySolverBase
IllegalActionException
- Thrown if there is an error getting the
ontology objects from the solver model.public LatticeOntologySolver getRelatedSolver(Ontology containedOntology) throws IllegalActionException
containedOntology
- The ontology that is a subcomponent of the
product lattice ontology.IllegalActionException
- If there is an error getting the contained
LatticeOntologySolvers.public void initialize() throws IllegalActionException
initialize
in class LatticeOntologySolver
IllegalActionException
- If an exception occurs when
collecting the constraints.public void reset()
reset
in class LatticeOntologySolver
protected OntologyAdapter _getAdapter(java.lang.Object component) throws IllegalActionException
_getAdapter
in class LatticeOntologySolver
component
- The specified component.IllegalActionException
- Thrown if the LatticeOntologyAdapter
cannot be instantiated.