public class RecordConcept extends MapTypeInfiniteConcept<Concept>
This RecordConcept allows any record to be assigned concept values for its
individual elements from an arbitrary finite ontology. For example, if we
wanted to assign a concept to the token above from the constAbstractInterpretation
ontology, it would be:
{x = Positive, y = Positive, pixelOn = BooleanTrue}
This code is adapted from the
MonotonicityConcept
implementation.
Entity.ContainedObjectsIterator
isAcceptable
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Modifier | Constructor and Description |
---|---|
protected |
RecordConcept(Ontology ontology)
Create a new Record concept, belonging to the given
ontology.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(Concept concept)
Compare this concept with the given concept.
|
static RecordConcept |
createRecordConcept(Ontology ontology)
Create a new record concept, belonging to the given
ontology, with an automatically generated name.
|
Concept |
greatestLowerBound(Concept concept)
Compute the greatest lower bound (GLB) of this and another concept.
|
Concept |
leastUpperBound(Concept concept)
Compute the least upper bound (LUB) of this and another concept.
|
_combinedKeys, _commonKeys, _values, equals, getConcept, hashCode, keySet, putConcept, toString
getRepresentative
getAssociatedObject, getColor, getOntology, getValue, getVariables, initialize, isAboveOrEqualTo, isSettable, isValueAcceptable, setValue
_adjustDeferrals, _checkContainer, _getContainedObject, _propagateExistence, clone, getContainer, instantiate, isAtomic, isOpaque, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, newPort, propagateExistence, setContainer, setName
_addPort, _description, _exportMoMLContents, _removePort, _validateSettables, connectedPortList, connectedPorts, connectionsChanged, containedObjectsIterator, getAttribute, getPort, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts, setClassDefinition, uniqueName
_setParent, exportMoML, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _executeChangeRequests, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, addChangeListener, addDebugListener, addHierarchyListener, attributeChanged, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getFullName, getModelErrorHandler, getName, getName, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, validateSettables, workspace
finalize, getClass, notify, notifyAll, wait, wait, wait
getDerivedLevel, getDerivedList, propagateValue
description, getDisplayName, getFullName, getName, getName
protected RecordConcept(Ontology ontology) throws IllegalActionException, NameDuplicationException
ontology
- The ontology to which this RecordConcept belongs.NameDuplicationException
- Should never be thrown.IllegalActionException
- If the base class throws it.public static RecordConcept createRecordConcept(Ontology ontology)
ontology
- The ontology to which this concept belongs.InternalErrorException
- If there .public int compare(Concept concept) throws IllegalActionException
compare
in class InfiniteConcept
concept
- The concept with which we are comparing.IllegalActionException
- If the specified concept
does not have the same ontology as this one.Concept.isAboveOrEqualTo(ptolemy.data.ontologies.Concept)
public Concept greatestLowerBound(Concept concept)
greatestLowerBound
in class InfiniteConcept
concept
- The other conceptpublic Concept leastUpperBound(Concept concept)
leastUpperBound
in class InfiniteConcept
concept
- The other concept