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