Class CardinalityChecker

  • All Implemented Interfaces:
    DescriptionPreprocessingSegment

    public class CardinalityChecker
    extends Object
    implements DescriptionPreprocessingSegment
    Preprocessing segment that verifies correctness of child cardinality.

    In BICEPS descriptors of a certain type can appear one or many times as a child of another descriptor. This checker guarantees that no child is inserted twice if the maximum allowed number of children is one.