I want us to use this place to post pseudo or actual codes and discussions of them for the bare bone of Order Scoring with Sampling (OSS).
Efrain, can you post a simple C++ code that (1) reads in a dataset and a user configuration file (a starting order is specified in here); (2) implements method of returning BDeu score given the following parameters: (variable index, array of parents indices); (3) loop through all variables in the dataset and for each variable, return BDeu score of that variable given all the variables in the higher order as parents using method developed in (2).
Please attach relevant files (e.g., configuration file, dataset, etc.) and information how to compile and run.