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:
- Joseph Ramsey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSemManipulation(SemIm semIm) Constructs a container for evidence for the given Bayes IM.SemManipulation(SemManipulation manipulation) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetNode(int nodeIndex) intgetNodeIndex(String nodeName) inthashCode()booleanisManipulated(int nodeIndex) static SemManipulationGenerates a simple exemplar of this class to test serialization.voidsetManipulated(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()
-