org.encog.ml.ea.rules

## Interface RewriteRule

- All Known Implementing Classes:
    RewriteAlgebraic, RewriteBoolean, RewriteConstants

      public interface RewriteRule

  Defines a rewrite rule. Rewrite rules are used to rewrite a genome into a more simple, yet equivalent, form.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `rewrite(Genome genome)` Rewrite the specified genome.

- - ### Method Detail

    - #### rewrite

          boolean rewrite(Genome genome)

      Rewrite the specified genome.
      Parameters:
        `genome` - The genome to rewrite.
      Returns:
        True, if the genome was rewritten.

Copyright © 2014. All Rights Reserved.