Package edu.cmu.tetrad.graph
Enum Class RandomMim.LatentLinkMode
- All Implemented Interfaces:
Serializable,Comparable<RandomMim.LatentLinkMode>,Constable
- Enclosing class:
RandomMim
Enum representing the mode of linking between latent nodes in the construction of a random model-in-mapping (MIM)
graph. Determines how connections are formed between latent groups during the graph generation process.
The available modes are: - CARTESIAN_PRODUCT: All possible links between elements of two groups are formed. - CORRESPONDING: Links are formed only between corresponding indices of two groups.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents the Cartesian product mode for linking latent nodes in the construction of a random MIM (model-in-mapping) graph.Represents the corresponding mode for linking latent nodes in the construction of a random MIM (model-in-mapping) graph.Represents the patchy connections mode for linking latent nodes in the construction of a random MIM (model-in-mapping) graph. -
Method Summary
Modifier and TypeMethodDescriptionstatic RandomMim.LatentLinkModeReturns the enum constant of this class with the specified name.static RandomMim.LatentLinkMode[]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
-
CARTESIAN_PRODUCT
Represents the Cartesian product mode for linking latent nodes in the construction of a random MIM (model-in-mapping) graph. In this mode, all possible connections between elements of two latent groups are established, forming a complete set of links between the groups. -
CORRESPONDING
Represents the corresponding mode for linking latent nodes in the construction of a random MIM (model-in-mapping) graph. In this mode, connections are established only between elements at the same index in two latent groups. -
PATCHY_CONNECTIONS
Represents the patchy connections mode for linking latent nodes in the construction of a random MIM (model-in-mapping) graph. In this mode, connections are established between elements of two latent groups in a patchy manner, where at least one connection is drawn from one group to another, but if more than one is possible in the Cartesian product, # possible connections / 2 connections are drawn.
-
-
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
-