org.encog.ml.prg.opp
public class LevelHolder extends Object
Constructor and Description |
---|
LevelHolder(int currentLevel)
Construct the level holder.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
compatibleTypes(List<ValueType> parentTypes,
List<ValueType> childTypes)
Determine if the specified child types are compatible with the parent types.
|
void |
decreaseLevel()
Decrease the level.
|
int |
getCurrentLevel() |
ProgramNode |
getNodeFound() |
List<ValueType> |
getTypes() |
void |
setCurrentLevel(int currentLevel) |
void |
setNodeFound(ProgramNode nodeFound) |
void |
setTypes(List<ValueType> types) |
public LevelHolder(int currentLevel)
currentLevel
- The level to construct the holder for.public static boolean compatibleTypes(List<ValueType> parentTypes, List<ValueType> childTypes)
parentTypes
- The parent types.childTypes
- The child types.public void decreaseLevel()
public int getCurrentLevel()
public ProgramNode getNodeFound()
public void setCurrentLevel(int currentLevel)
currentLevel
- the currentLevel to setpublic void setNodeFound(ProgramNode nodeFound)
nodeFound
- the nodeFound to setCopyright © 2014. All Rights Reserved.