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 across groups in the meta-DAG.
  • Enum Constant Details

    • CARTESIAN_PRODUCT

      public static final RandomMim.LatentLinkMode CARTESIAN_PRODUCT
      All possible links between the two groups' latents are formed.
    • CORRESPONDING

      public static final RandomMim.LatentLinkMode CORRESPONDING
      Links are formed only between latents at the same index in each group.
    • PATCHY_CONNECTIONS

      public static final RandomMim.LatentLinkMode PATCHY_CONNECTIONS
      Roughly half of the possible Cartesian-product links are chosen, but at least one.
  • 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