RISC JKU

at.jku.risc.stout.urauc.algo

Class AlignFnc

  • Direct Known Subclasses:
    AlignFncInput, AlignFncLAA


    public abstract class AlignFnc
    extends Object
    This is the common super class for all alignment computation functions, which compute a list of alignments for two given sequences ( TermAtomLists) of TermAtoms.
    Author:
    Alexander Baumgartner
    • Field Detail

      • debugLevel

        public static DebugLevel debugLevel
        Debugging flag
    • Constructor Detail

      • AlignFnc

        public AlignFnc()
    • Method Detail

      • getIterator

        public abstract AlignFnc.AlignmentIterator getIterator(AntiUnifyProblem aup,
                                             int minAlignLen,
                                             int upperBound,
                                             boolean iterateAll,
                                             PrintStream out)
                                                        throws MaximumIterationException
        Initialize the computation. This method is called once before the iterations begin. For each pair, the user has to iterate over the alignment computation function AlignFnc and for each iteration the anti-unification algorithm should be called.
        Throws:
        MaximumIterationException - If the specified upper bound has been reached. Any value smaller than 1 disables the upper bound.
      • newInstance

        public abstract AlignFnc newInstance()
        Returns a fresh new instance of this alignment computation function.