Class TargetRememberLastLabel

  • All Implemented Interfaces:

    public class TargetRememberLastLabel
    extends Pipe
    For each position in the target, remember the last non-background label. Assumes that the target of piped instances is a LabelSequence. Replaces the target with a LabelsSequence where row 0 is the original labels, and row 1 is the last label.
    $Id:,v 1.1 2007/10/22 21:37:39 mccallum Exp $
    Charles Sutton
    See Also:
    Serialized Form
    • Constructor Detail

      • TargetRememberLastLabel

        public TargetRememberLastLabel()
      • TargetRememberLastLabel

        public TargetRememberLastLabel​(java.lang.String backgroundLabel,
                                       boolean offset)
        offset determines how the memory and base sequences will be aligned. If true, they'll be aligned like this:
          MEM   O  O  S  S  S  E  L
          BASE  O  S  S  O  E  L  O
        otherwise, they'll be aligned like this:
          MEM   O  S  S  S  E  E  L
          BASE  O  S  S  O  E  L  O
    • Method Detail

      • pipe

        public Instance pipe​(Instance carrier)
        Description copied from class: Pipe
        Really this should be 'protected', but isn't for historical reasons.
        pipe in class Pipe