Package edu.cmu.tetrad.graph
Class Triple
java.lang.Object
edu.cmu.tetrad.graph.Triple
- All Implemented Interfaces:
TetradSerializable,Serializable
Stores a triple (x, y, z) of nodes. Note that (x, y, z) = (z, y, x). Useful for marking graphs.
- Version:
- $Id: $Id
- Author:
- josephramsey, after Frank Wimberly.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanalongPathIn(Graph graph) alongPathIn.booleangetX()Getter for the fieldx.getY()Getter for the fieldy.getZ()Getter for the fieldz.inthashCode()hashCode.static StringpathString(Graph graph, Node x, Node y, Node z) pathString.static TripleGenerates a simple exemplar of this class to test serialization.toString()toString.
-
Constructor Details
-
Triple
-
-
Method Details
-
serializableInstance
-
pathString
-
getX
-
getY
-
getZ
-
hashCode
-
equals
-
toString
-
alongPathIn
-