Class: Chemicalml::Convention::Constraint::DocumentConstraint

Inherits:
Constraint
  • Object
show all
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.