Package edu.cmu.tetrad.search.utils
Class ShiftSearch
java.lang.Object
edu.cmu.tetrad.search.utils.ShiftSearch
Tries to find a good shifting of variables to minimize average BIC for time-series data. The idea is that the data one is presented with may have the variables temporally shifted with respect to one another. ShiftSearch attempts to find a shifting of the variables that reduces this temporal shifting.
- Author:
- josephramsey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetC()intintint[]search()voidsetC(int c) voidsetForwardSearch(boolean forwardSearch) voidsetKnowledge(Knowledge knowledge) voidsetMaxNumShifts(int maxNumShifts) voidsetMaxShift(int maxShift) voidsetOut(OutputStream out) voidsetPrecomputeCovariances(boolean precomputeCovariances) voidstop()
-
Constructor Details
-
ShiftSearch
-
-
Method Details
-
search
public int[] search() -
getMaxShift
public int getMaxShift() -
setMaxShift
public void setMaxShift(int maxShift) -
getKnowledge
-
setKnowledge
-
getC
public int getC() -
setC
public void setC(int c) -
getMaxNumShifts
public int getMaxNumShifts() -
setMaxNumShifts
public void setMaxNumShifts(int maxNumShifts) -
setOut
-
stop
public void stop() -
setForwardSearch
public void setForwardSearch(boolean forwardSearch) -
setPrecomputeCovariances
public void setPrecomputeCovariances(boolean precomputeCovariances)
-