Enum Class RandomMim.LatentLinkMode

java.lang.Object
java.lang.Enum<RandomMim.LatentLinkMode>
edu.cmu.tetrad.graph.RandomMim.LatentLinkMode
All Implemented Interfaces:
Serializable, Comparable<RandomMim.LatentLinkMode>, Constable
Enclosing class:
RandomMim

public static enum RandomMim.LatentLinkMode extends Enum<RandomMim.LatentLinkMode>
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.

  • Enum Constant Details

    • CARTESIAN_PRODUCT

      public static final RandomMim.LatentLinkMode 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

      public static final RandomMim.LatentLinkMode 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

      public static final RandomMim.LatentLinkMode 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

      public static RandomMim.LatentLinkMode[] 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

      public static RandomMim.LatentLinkMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null