Package | Description |
---|---|
org.encog.ml.prg | |
org.encog.ml.prg.expvalue | |
org.encog.ml.prg.extension | |
org.encog.ml.prg.generator | |
org.encog.ml.prg.opp |
Modifier and Type | Method and Description |
---|---|
ValueType |
EncogProgram.getReturnType() |
ValueType |
VariableMapping.getVariableType() |
Modifier and Type | Method and Description |
---|---|
void |
EncogProgramContext.defineVariable(String theName,
ValueType theVariableType)
Define the specified variable as the specified type.
|
void |
EncogProgramContext.defineVariable(String theName,
ValueType theVariableType,
int theEnumType,
int theEnumValueCount)
Define a variable.
|
Modifier and Type | Method and Description |
---|---|
List<VariableMapping> |
EncogProgramContext.findVariablesByTypes(List<ValueType> desiredTypes)
Find all of the variables of the specified types.
|
int |
EncogProgram.selectRandomVariable(Random rnd,
List<ValueType> desiredTypes)
Select a random variable from the defined variables.
|
Constructor and Description |
---|
VariableMapping(String theName,
ValueType theVariableType)
Construct a variable mapping for a non-enum type.
|
VariableMapping(String theName,
ValueType theVariableType,
int theEnumType,
int theEnumValueCount)
Construct a variable mapping.
|
Modifier and Type | Method and Description |
---|---|
ValueType |
ExpressionValue.getExpressionType() |
static ValueType |
ValueType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
ValueType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ExpressionValue(ValueType theType)
Construct a value of the specified type.
|
Modifier and Type | Method and Description |
---|---|
List<ValueType> |
ParamTemplate.determineArgumentTypes(List<ValueType> parentTypes)
Determine the possable argument types, given the parent types.
|
Set<ValueType> |
ParamTemplate.getPossibleTypes() |
Modifier and Type | Method and Description |
---|---|
void |
ParamTemplate.addType(ValueType theType)
Add a type using a type enum.
|
boolean |
ProgramExtensionTemplate.isPossibleReturnType(EncogProgramContext context,
ValueType rtn)
Determines if the specified return type is a possible return type.
|
boolean |
BasicTemplate.isPossibleReturnType(EncogProgramContext context,
ValueType rtn)
Determines if the specified return type is a possible return type.
|
Modifier and Type | Method and Description |
---|---|
List<ValueType> |
ParamTemplate.determineArgumentTypes(List<ValueType> parentTypes)
Determine the possable argument types, given the parent types.
|
List<ProgramExtensionTemplate> |
FunctionFactory.findOpcodes(List<ValueType> types,
EncogProgramContext context,
boolean includeTerminal,
boolean includeFunction)
Find all opcodes that match the search criteria.
|
void |
ProgramExtensionTemplate.randomize(Random rnd,
List<ValueType> desiredType,
ProgramNode actual,
double minValue,
double maxValue)
Randomize this actual tree node.
|
void |
BasicTemplate.randomize(Random rnd,
List<ValueType> desiredTypes,
ProgramNode actual,
double minValue,
double maxValue)
Randomize this actual tree node.
|
Modifier and Type | Method and Description |
---|---|
ProgramNode |
PrgGrowGenerator.createNode(Random rnd,
EncogProgram program,
int depthRemaining,
List<ValueType> types)
Create a random node for an Encog Program.
|
ProgramNode |
RampedHalfAndHalf.createNode(Random rnd,
EncogProgram program,
int depthRemaining,
List<ValueType> types)
Create a random node for an Encog Program.
|
ProgramNode |
PrgGenerator.createNode(Random rnd,
EncogProgram program,
int depthRemaining,
List<ValueType> types)
Create a random node for an Encog Program.
|
ProgramNode |
PrgFullGenerator.createNode(Random rnd,
EncogProgram program,
int depthRemaining,
List<ValueType> types)
Create a random node for an Encog Program.
|
ProgramNode |
AbstractPrgGenerator.createRandomNode(Random rnd,
EncogProgram program,
int depthRemaining,
List<ValueType> types,
boolean includeTerminal,
boolean includeFunction)
Create a random note according to the specified paramaters.
|
ProgramNode |
AbstractPrgGenerator.createTerminalNode(Random rnd,
EncogProgram program,
List<ValueType> types)
Create a terminal node.
|
Modifier and Type | Method and Description |
---|---|
List<ValueType> |
LevelHolder.getTypes() |
Modifier and Type | Method and Description |
---|---|
static boolean |
LevelHolder.compatibleTypes(List<ValueType> parentTypes,
List<ValueType> childTypes)
Determine if the specified child types are compatible with the parent types.
|
static boolean |
LevelHolder.compatibleTypes(List<ValueType> parentTypes,
List<ValueType> childTypes)
Determine if the specified child types are compatible with the parent types.
|
void |
LevelHolder.setTypes(List<ValueType> types) |
Copyright © 2014. All Rights Reserved.