Enum Pooling
- java.lang.Object
-
- java.lang.Enum<Pooling>
-
- de.uni_trier.recap.arg_services.nlp.v1.Pooling
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<Pooling>
public enum Pooling extends java.lang.Enum<Pooling> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumarg_services.nlp.v1.Pooling
-
-
Enum Constant Summary
Enum Constants Enum Constant Description POOLING_FIRSTFirst element of vector.POOLING_GMEANGeometirc mean of all elements.POOLING_HMEANHarmonic mean of all elements.POOLING_LASTLast element of vector.POOLING_MAXMaximum element of vector.POOLING_MEANArithmetic mean of all elements.POOLING_MEDIANMedian element of vector.POOLING_MINMinimum element of vector.POOLING_SUMSum of all elements.POOLING_UNSPECIFIEDIN the default case, the arithmetic mean should be used.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intPOOLING_FIRST_VALUEFirst element of vector.static intPOOLING_GMEAN_VALUEGeometirc mean of all elements.static intPOOLING_HMEAN_VALUEHarmonic mean of all elements.static intPOOLING_LAST_VALUELast element of vector.static intPOOLING_MAX_VALUEMaximum element of vector.static intPOOLING_MEAN_VALUEArithmetic mean of all elements.static intPOOLING_MEDIAN_VALUEMedian element of vector.static intPOOLING_MIN_VALUEMinimum element of vector.static intPOOLING_SUM_VALUESum of all elements.static intPOOLING_UNSPECIFIED_VALUEIN the default case, the arithmetic mean should be used.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PoolingforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Pooling>internalGetValueMap()static PoolingvalueOf(int value)Deprecated.static PoolingvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static PoolingvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Pooling[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POOLING_UNSPECIFIED
public static final Pooling POOLING_UNSPECIFIED
IN the default case, the arithmetic mean should be used.
POOLING_UNSPECIFIED = 0;
-
POOLING_MEAN
public static final Pooling POOLING_MEAN
Arithmetic mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Arithmetic_mean).
POOLING_MEAN = 1;
-
POOLING_MAX
public static final Pooling POOLING_MAX
Maximum element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Maximum).
POOLING_MAX = 2;
-
POOLING_MIN
public static final Pooling POOLING_MIN
Minimum element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Minimum).
POOLING_MIN = 3;
-
POOLING_SUM
public static final Pooling POOLING_SUM
Sum of all elements.
POOLING_SUM = 4;
-
POOLING_FIRST
public static final Pooling POOLING_FIRST
First element of vector.
POOLING_FIRST = 5;
-
POOLING_LAST
public static final Pooling POOLING_LAST
Last element of vector.
POOLING_LAST = 6;
-
POOLING_MEDIAN
public static final Pooling POOLING_MEDIAN
Median element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Median).
POOLING_MEDIAN = 7;
-
POOLING_GMEAN
public static final Pooling POOLING_GMEAN
Geometirc mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Geometric_mean).
POOLING_GMEAN = 8;
-
POOLING_HMEAN
public static final Pooling POOLING_HMEAN
Harmonic mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Harmonic_mean).
POOLING_HMEAN = 9;
-
UNRECOGNIZED
public static final Pooling UNRECOGNIZED
-
-
Field Detail
-
POOLING_UNSPECIFIED_VALUE
public static final int POOLING_UNSPECIFIED_VALUE
IN the default case, the arithmetic mean should be used.
POOLING_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
POOLING_MEAN_VALUE
public static final int POOLING_MEAN_VALUE
Arithmetic mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Arithmetic_mean).
POOLING_MEAN = 1;- See Also:
- Constant Field Values
-
POOLING_MAX_VALUE
public static final int POOLING_MAX_VALUE
Maximum element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Maximum).
POOLING_MAX = 2;- See Also:
- Constant Field Values
-
POOLING_MIN_VALUE
public static final int POOLING_MIN_VALUE
Minimum element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Minimum).
POOLING_MIN = 3;- See Also:
- Constant Field Values
-
POOLING_SUM_VALUE
public static final int POOLING_SUM_VALUE
Sum of all elements.
POOLING_SUM = 4;- See Also:
- Constant Field Values
-
POOLING_FIRST_VALUE
public static final int POOLING_FIRST_VALUE
First element of vector.
POOLING_FIRST = 5;- See Also:
- Constant Field Values
-
POOLING_LAST_VALUE
public static final int POOLING_LAST_VALUE
Last element of vector.
POOLING_LAST = 6;- See Also:
- Constant Field Values
-
POOLING_MEDIAN_VALUE
public static final int POOLING_MEDIAN_VALUE
Median element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Median).
POOLING_MEDIAN = 7;- See Also:
- Constant Field Values
-
POOLING_GMEAN_VALUE
public static final int POOLING_GMEAN_VALUE
Geometirc mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Geometric_mean).
POOLING_GMEAN = 8;- See Also:
- Constant Field Values
-
POOLING_HMEAN_VALUE
public static final int POOLING_HMEAN_VALUE
Harmonic mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Harmonic_mean).
POOLING_HMEAN = 9;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Pooling[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Pooling c : Pooling.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Pooling valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Pooling valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Pooling forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Pooling> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Pooling valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-