ec.rule
Class RuleInitializer

java.lang.Object
  |
  +--ec.Initializer
        |
        +--ec.simple.SimpleInitializer
              |
              +--ec.rule.RuleInitializer
All Implemented Interfaces:
java.io.Serializable, Setup, Singleton

public class RuleInitializer
extends SimpleInitializer

A SimpleInitializer subclass designed to be used with rules. Basically, the RuleInitializer sets up the RuleConstraints and RuleSetConstraints cliques at setup() time, and does nothing else different from SimpleInitializer. The RuleInitializer also specifies the parameter bases for the RuleSetConstraints and RuleConstraints objects.

Parameter bases
rule.rsc RuleSetConstraints
rule.rc RuleConstraints

See Also:
Serialized Form

Field Summary
static java.lang.String P_RULECONSTRAINTS
           
static java.lang.String P_RULESETCONSTRAINTS
           
 
Fields inherited from class ec.Initializer
P_POP
 
Constructor Summary
RuleInitializer()
           
 
Method Summary
 void setup(EvolutionState state, Parameter base)
          Sets up the RuleConstraints and RuleSetConstraints cliques.
 
Methods inherited from class ec.simple.SimpleInitializer
initialPopulation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

P_RULESETCONSTRAINTS

public static final java.lang.String P_RULESETCONSTRAINTS

P_RULECONSTRAINTS

public static final java.lang.String P_RULECONSTRAINTS
Constructor Detail

RuleInitializer

public RuleInitializer()
Method Detail

setup

public void setup(EvolutionState state,
                  Parameter base)
Sets up the RuleConstraints and RuleSetConstraints cliques.
Overrides:
setup in class SimpleInitializer