Enum Class BlossomVNode.Label

java.lang.Object
java.lang.Enum<BlossomVNode.Label>
org.jgrapht.alg.matching.blossom.v5.BlossomVNode.Label
All Implemented Interfaces:
Serializable, Comparable<BlossomVNode.Label>, Constable
Enclosing class:
BlossomVNode

public static enum BlossomVNode.Label extends Enum<BlossomVNode.Label>
Represents nodes' labels
  • Enum Constant Details

    • PLUS

      public static final BlossomVNode.Label PLUS
      The node is on an even layer in the tree (root has layer 0)
    • MINUS

      public static final BlossomVNode.Label MINUS
      The node is on an odd layer in the tree (root has layer 0)
    • INFINITY

      public static final BlossomVNode.Label INFINITY
      This node doesn't belong to any tree and is matched to some other node
  • Constructor Details

    • Label

      private Label()
  • Method Details

    • values

      public static BlossomVNode.Label[] 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 BlossomVNode.Label 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