コード例 #1
0
 /**
  * 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());
 }
コード例 #2
0
 public PValueImproverWrapper(
     GraphWrapper graphWrapper, DataWrapper dataWrapper, PcSearchParams params) {
   super(dataWrapper, params);
   this.dataWrapper = dataWrapper;
   this.params2 = params;
   setGraph(new EdgeListGraph(graphWrapper.getGraph()));
 }