/** * Generates a simple exemplar of this class to test serialization. * * @see edu.cmu.TestSerialization * @see TetradSerializableUtils */ public static PValueImproverWrapper serializableInstance() { return new PValueImproverWrapper( GraphWrapper.serializableInstance(), DataWrapper.serializableInstance(), PcSearchParams.serializableInstance(), KnowledgeBoxModel.serializableInstance()); }
public PValueImproverWrapper( GraphWrapper graphWrapper, DataWrapper dataWrapper, PcSearchParams params) { super(dataWrapper, params); this.dataWrapper = dataWrapper; this.params2 = params; setGraph(new EdgeListGraph(graphWrapper.getGraph())); }