Package edu.cmu.tetrad.sem
Enum Class AdditiveAnmSimulator.Family
- All Implemented Interfaces:
Serializable,Comparable<AdditiveAnmSimulator.Family>,Constable
- Enclosing class:
AdditiveAnmSimulator
Represents the type of function family used in the additive noise model (ANM) simulation. The function family
determines the mathematical form of the functions applied on graph edges during the simulation. Each family
corresponds to a distinct functional model:
This enum is primarily utilized in the configuration and behavior of the AdditiveAnmSimulator class to specify the desired structure for edge functions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AdditiveAnmSimulator.FamilyReturns the enum constant of this class with the specified name.static AdditiveAnmSimulator.Family[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
RBF
Radial Basis Functions, a sum of exponential terms. -
TANH
Hyperbolic Tangent Functions, a sum of tanh-based terms. -
POLY
Polynomial Functions, represented as a sum of powers of the input.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-