/**
  * Generates a simple exemplar of this class to test serialization.
  *
  * @see edu.cmu.TestSerialization
  * @see TetradSerializableUtils
  */
 public static RegressionInterpolatorWrapper serializableInstance() {
   return new RegressionInterpolatorWrapper(DataWrapper.serializableInstance());
 }
예제 #2
0
 /**
  * Generates a simple exemplar of this class to test serialization.
  *
  * @see edu.cmu.TestSerialization
  * @see edu.cmu.tetradapp.util.TetradSerializableUtils
  */
 public static CopyAllDatasetsWrapper serializableInstance() {
   return new CopyAllDatasetsWrapper(DataWrapper.serializableInstance());
 }
예제 #3
0
 /**
  * Generates a simple exemplar of this class to test serialization.
  *
  * @see edu.cmu.TestSerialization
  * @see TetradSerializableUtils
  */
 public static DataWrapper serializableInstance() {
   SplitCasesParams params = new SplitCasesParams();
   params.setNumSplits(1);
   params.setSpec(new SplitCasesSpec(1, new int[1], Collections.singletonList("1")));
   return new SplitCasesWrapper(DataWrapper.serializableInstance(), params);
 }