Package edu.cmu.tetrad.search.utils
Class Tetrad
java.lang.Object
edu.cmu.tetrad.search.utils.Tetrad
- All Implemented Interfaces:
TetradSerializable,Serializable
Represents an ordered sextad of nodes.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetI()Getter for the fieldi.intgetJ()Getter for the fieldj.intgetK()Getter for the fieldk.intgetL()Getter for the fieldl.getNodes()Returns the list of nodes.inthashCode()hashCode.static TetradGenerates a simple exemplar of this class to test serialization.toString()toString.
-
Constructor Details
-
Tetrad
public Tetrad(int i, int j, int k, int l) Constructor.- Parameters:
i- a intj- a intk- a intl- a int
-
-
Method Details
-
serializableInstance
Generates a simple exemplar of this class to test serialization.- Returns:
- a
Tetradobject
-
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
-
hashCode
public int hashCode()hashCode.
-
equals
Returns a judgment of equality with another Sextad instance.
-
toString
toString.
-
getNodes
Returns the list of nodes.- Returns:
- This list.
-