Class Sextad

java.lang.Object
edu.cmu.tetrad.search.utils.Sextad
All Implemented Interfaces:
TetradSerializable, Serializable

public class Sextad extends Object implements TetradSerializable
Represents an ordered sextad of nodes.
Version:
$Id: $Id
Author:
josephramsey
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Sextad(int i, int j, int k, int l, int m, int n)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    int
    Getter for the field i.
    int
    Getter for the field j.
    int
    Getter for the field k.
    int
    Getter for the field l.
    int
    Getter for the field m.
    int
    Getter for the field n.
    Returns the list of nodes.
    int
    hashCode.
    static Sextad
    Generates a simple exemplar of this class to test serialization.
    toString.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Sextad

      public Sextad(int i, int j, int k, int l, int m, int n)
      Constructor.
      Parameters:
      i - a int
      j - a int
      k - a int
      l - a int
      m - a int
      n - a int
  • Method Details

    • serializableInstance

      public static Sextad serializableInstance()
      Generates a simple exemplar of this class to test serialization.
      Returns:
      a Sextad object
    • getI

      public int getI()

      Getter for the field i.

      Returns:
      a int
    • getJ

      public int getJ()

      Getter for the field j.

      Returns:
      a int
    • getK

      public int getK()

      Getter for the field k.

      Returns:
      a int
    • getL

      public int getL()

      Getter for the field l.

      Returns:
      a int
    • getM

      public int getM()

      Getter for the field m.

      Returns:
      a int
    • getN

      public int getN()

      Getter for the field n.

      Returns:
      a int
    • hashCode

      public int hashCode()

      hashCode.

      Overrides:
      hashCode in class Object
      Returns:
      a int
    • equals

      public boolean equals(Object o)

      Returns a judgment of equality with another Sextad instance.

      Overrides:
      equals in class Object
    • toString

      public String toString()

      toString.

      Overrides:
      toString in class Object
      Returns:
      a String object
    • getNodes

      public List<Integer> getNodes()
      Returns the list of nodes.
      Returns:
      This list.