Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.ml.prg.train.rewrite
Class RewriteConstants

    java.lang.Object
      org.encog.ml.prg.train.rewrite.RewriteConstants

All Implemented Interfaces:
  RewriteRule

    public class RewriteConstants

extends Object
implements RewriteRule

Rewrite any parts of the tree that are constant with a simple constant value.

Constructor Summary
`RewriteConstants()`

Method Summary
`boolean` | `rewrite(Genome g)` Rewrite the specified genome.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RewriteConstants

    public RewriteConstants()

Method Detail

### rewrite

    public boolean rewrite(Genome g)

  Rewrite the specified genome.

  Specified by:
    `rewrite` in interface `RewriteRule`
  Parameters:
    `g` - The genome to rewrite.
  Returns:
    True, if the genome was rewritten.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014. All Rights Reserved.