|
GeneThello Home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.genethello.brain.ChromosomeFactory
public class ChromosomeFactory
Creates chromosome with specific and default values. Usually used by ChromosomeCreator class.
| Field Summary | |
|---|---|
static int |
DEFAULT_MAX_END
Default maximum weight of feature end game step. |
static int |
DEFAULT_MAX_FEATURE
Default maximum weight of feature flips number. |
static int |
DEFAULT_MAX_OPENING
Default maximum weight of feature opening game step. |
static int |
DEFAULT_MIN_END
Default minimum weight of feature end game step. |
static int |
DEFAULT_MIN_FEATURE
Default minimum weight of feature flips number. |
static int |
DEFAULT_MIN_OPENING
Default minimum weight of feature opening game step. |
| Constructor Summary | |
|---|---|
ChromosomeFactory()
|
|
| Method Summary | |
|---|---|
static Chromosome |
create(org.jgap.IChromosome ic)
Creates chromosome of specific JGAP representation with default minimum/maximum values. |
static Chromosome |
create(java.lang.String str)
Creates chromosome of specific string representation with default minimum/maximum values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_MIN_OPENING
public static final int DEFAULT_MAX_OPENING
public static final int DEFAULT_MIN_END
public static final int DEFAULT_MAX_END
public static final int DEFAULT_MIN_FEATURE
public static final int DEFAULT_MAX_FEATURE
| Constructor Detail |
|---|
public ChromosomeFactory()
| Method Detail |
|---|
public static Chromosome create(org.jgap.IChromosome ic)
ic - JGAP representation of chromosome
public static Chromosome create(java.lang.String str)
str - string representation of chromosome
|
GeneThello Home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||