Package edu.cmu.tetrad.sem
Class SemManipulation
java.lang.Object
edu.cmu.tetrad.sem.SemManipulation
- All Implemented Interfaces:
TetradSerializable
,Serializable
Stores information for a BayesIm about evidence we have for each variable as well as whether each variable has been
manipulated.
- Author:
- josephramsey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSemManipulation
(SemIm semIm) Constructs a container for evidence for the given Bayes IM.SemManipulation
(SemManipulation manipulation) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getNode
(int nodeIndex) int
getNodeIndex
(String nodeName) int
hashCode()
boolean
isManipulated
(int nodeIndex) static SemManipulation
Generates a simple exemplar of this class to test serialization.void
setManipulated
(int nodeIndex, boolean manipulated) toString()
-
Constructor Details
-
SemManipulation
Constructs a container for evidence for the given Bayes IM. -
SemManipulation
-
-
Method Details
-
serializableInstance
Generates a simple exemplar of this class to test serialization. -
getNodeIndex
-
getNode
-
isManipulated
public boolean isManipulated(int nodeIndex) -
setManipulated
public void setManipulated(int nodeIndex, boolean manipulated) -
toString
-
equals
-
hashCode
public int hashCode()
-