|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.ml.prg.extension.ParamTemplate
public class ParamTemplate
Provides a template for parameters to the opcodes. This defines the accepted types and if type of a given parameter passes through to the return type.
Constructor Summary | |
---|---|
ParamTemplate()
Default constructor. |
Method Summary | |
---|---|
void |
addAllTypes()
Add all known types. |
void |
addType(String theType)
Add the specified type. |
void |
addType(ValueType theType)
Add a type using a type enum. |
List<ValueType> |
determineArgumentTypes(List<ValueType> parentTypes)
Determine the possable argument types, given the parent types. |
Set<ValueType> |
getPossibleTypes()
|
boolean |
isPassThrough()
|
void |
setPassThrough(boolean passThrough)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParamTemplate()
Method Detail |
---|
public void addAllTypes()
public void addType(String theType)
theType
- The type to add.public void addType(ValueType theType)
theType
- The type to add.public List<ValueType> determineArgumentTypes(List<ValueType> parentTypes)
parentTypes
- The parent types.
public Set<ValueType> getPossibleTypes()
public boolean isPassThrough()
public void setPassThrough(boolean passThrough)
passThrough
- the passThrough to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |