// // change point with a Beta prior for probability p // // Authors: Rosangela H. Loschi // Frederico R. B. Cruz // Departamento de Estatistica // Universidade Federal de Minas Gerais // E-mail: {loschi,fcruz}@est.ufmg.br // // Version: 1.00 // // Date: Feb/2001 // // Obs: submitted to C & OR // // inclusion of standard libraries #include #include // inclusion of change point library #include "chpoint.hpp" // main program int main(int argc, char *argv[]) { // check input if (argc < 2) { fprintf(stderr, "Usage: %s