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 TypeMethodDescriptionboolean
alongPathIn
(Graph graph) alongPathIn.boolean
getX()
Getter for the fieldx
.getY()
Getter for the fieldy
.getZ()
Getter for the fieldz
.int
hashCode()
hashCode.static String
pathString
(Graph graph, Node x, Node y, Node z) pathString.static Triple
Generates 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
-