Documentation of 'org.encog.ml.prg.extension.ParamTemplate' Java class
ParamTemplate
org.encog.ml.prg.extension

Class ParamTemplate

  • All Implemented Interfaces:
    java.io.Serializable


    public class ParamTemplate
    extends java.lang.Object
    implements java.io.Serializable
    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.
    See Also:
    Serialized Form
    • Constructor Detail

      • ParamTemplate

        public ParamTemplate()
        Default constructor.
    • Method Detail

      • addAllTypes

        public void addAllTypes()
        Add all known types.
      • addType

        public void addType(java.lang.String theType)
        Add the specified type.
        Parameters:
        theType - The type to add.
      • addType

        public void addType(ValueType theType)
        Add a type using a type enum.
        Parameters:
        theType - The type to add.
      • determineArgumentTypes

        public java.util.List<ValueType> determineArgumentTypes(java.util.List<ValueType> parentTypes)
        Determine the possable argument types, given the parent types.
        Parameters:
        parentTypes - The parent types.
        Returns:
        The possable types.
      • getPossibleTypes

        public java.util.Set<ValueType> getPossibleTypes()
        Returns:
        the possibleTypes
      • isPassThrough

        public boolean isPassThrough()
        Returns:
        the passThrough
      • setPassThrough

        public void setPassThrough(boolean passThrough)
        Parameters:
        passThrough - the passThrough to set

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.