public final class GPSetType extends GPType
GPType
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
P_MEMBER |
static String |
P_SIZE |
Hashtable |
types_h
The hashtable of types in the set
|
int[] |
types_packed
A packed, sorted array of atomic types in the set
|
boolean[] |
types_sparse
A sparse array of atomic types in the set
|
Constructor and Description |
---|
GPSetType()
You should not construct new types.
|
Modifier and Type | Method and Description |
---|---|
boolean |
compatibleWith(GPInitializer initializer,
GPType t)
Am I compatible with ("fit" with) t? For two atomic
types, this is done by direct pointer equality.
|
void |
postProcessSetType(int totalAtomicTypes)
Sets up the packed and sparse arrays based on the hashtable
|
void |
setup(EvolutionState state,
Parameter base)
Sets up the object by reading it from the parameters stored
in state, built off of the parameter base base.
|
public static final String P_MEMBER
public static final String P_SIZE
public int[] types_packed
public boolean[] types_sparse
public Hashtable types_h
public void postProcessSetType(int totalAtomicTypes)
public void setup(EvolutionState state, Parameter base)
Setup
public final boolean compatibleWith(GPInitializer initializer, GPType t)
GPType
compatibleWith
in class GPType
Copyright © 2019. All rights reserved.