Class: Chemicalml::Convention::Constraint::DocumentConstraint
- Inherits:
-
Constraint
- Object
- Constraint
- Chemicalml::Convention::Constraint::DocumentConstraint
- Defined in:
- lib/chemicalml/convention/constraint.rb
Overview
DocumentConstraint: operates on the whole document at once — used for cross-cutting rules like "atom ids unique within molecule". Walks the tree itself; not subject to dispatch.
Direct Known Subclasses
Molecular::Constraints::AtomIdsUniqueWithinMolecule, Molecular::Constraints::AtomParityShouldIncludeParentAtom, Molecular::Constraints::BondIdsUniqueWithinMolecule, Molecular::Constraints::BondMustReferenceAtomsInSameMolecule, Molecular::Constraints::MoleculeCountMustNotAppearOnTopLevel, Molecular::Constraints::ReferencesShouldResolve, SimpleUnit::Constraints::RootMustBeUnitList