Documentation of 'org.encog.ml.prg.VariableMapping' Java class
VariableMapping
org.encog.ml.prg

Class VariableMapping

  • All Implemented Interfaces:
    java.io.Serializable


    public class VariableMapping
    extends java.lang.Object
    implements java.io.Serializable
    A variable mapping defines the type for each of the variables in an Encog program.
    See Also:
    Serialized Form
    • Constructor Detail

      • VariableMapping

        public VariableMapping(java.lang.String theName,
                               ValueType theVariableType)
        Construct a variable mapping for a non-enum type.
        Parameters:
        theName - The variable name.
        theVariableType - The variable type.
      • VariableMapping

        public VariableMapping(java.lang.String theName,
                               ValueType theVariableType,
                               int theEnumType,
                               int theEnumValueCount)
        Construct a variable mapping.
        Parameters:
        theName - The name of the variable.
        theVariableType - The type of the variable.
        theEnumType - The enum type.
        theEnumValueCount - The number of values for an enum.
    • Method Detail

      • getEnumType

        public int getEnumType()
        Returns:
        the enumType
      • getEnumValueCount

        public int getEnumValueCount()
        Returns:
        the enumValueCount
      • getName

        public java.lang.String getName()
        Returns:
        the name
      • getVariableType

        public ValueType getVariableType()
        Returns:
        the variableType
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.