Class TreeRewriteAlterer<A,​G extends TreeGene<A,​G>,​C extends Comparable<? super C>>

    • Constructor Detail

      • TreeRewriteAlterer

        public TreeRewriteAlterer​(TreeRewriter<A> rewriter,
                                  int limit,
                                  double probability)
        Create a new alterer with the given rewriter and given rewrite limit.
        Parameters:
        rewriter - the tree rewriter
        limit - the rewriting limit
        probability - the altering probability
        Throws:
        NullPointerException - if the rewriter is null
      • TreeRewriteAlterer

        public TreeRewriteAlterer​(TreeRewriter<A> rewriter,
                                  int limit)
        Create a new alterer with the given rewriter and given rewrite limit.
        Parameters:
        rewriter - the tree rewriter
        limit - the rewriting limit
        Throws:
        NullPointerException - if the rewriter is null
      • TreeRewriteAlterer

        public TreeRewriteAlterer​(TreeRewriter<A> rewriter,
                                  double probability)
        Create a new alterer with the given rewriter.
        Parameters:
        rewriter - the tree rewriter
        probability - the altering probability
        Throws:
        NullPointerException - if the rewriter is null