- autoCorr(GraphBuffer,s_Buff, GraphTraceLen, v);
- printf("vchange_autocorr(%d)\n", v);
+ int ans;
+ ans = AutoCorrelate(GraphBuffer, s_Buff, GraphTraceLen, v, true, false);
+ printf("vchange_autocorr(w:%d): %d\n", v, ans);
+ RepaintGraphWindow();
+}
+void ProxWidget::vchange_askedge(int v)
+{
+ int ans;
+ //extern int AskEdgeDetect(const int *in, int *out, int len, int threshold);
+ ans = AskEdgeDetect(GraphBuffer, s_Buff, GraphTraceLen, v);
+ printf("vchange_askedge(w:%d)\n", v);