#include <oxstd.h>

#import "../code/sim_pcgive"

main()
{
	decl cm = 1000;
	decl gamma = <0:5>, designs = {"Bc","B20"}, time = timer();

	format(1000);

	for (decl i = 0; i < sizerc(designs); ++i)
	{
		for (decl j = 0; j < sizerc(gamma); ++j)
		{
			decl exp = new PcGiveExp(designs[i], {0, gamma[j], SimDesign::USE_CONSTANT_X} );

			exp.Autometrics(0.01);

			exp.Run(cm);
			delete exp;
		}
	}



	gamma = <3:5>, designs = {"Bc","Bct","MBc","MBct"};

	for (decl i = 0; i < sizerc(designs); ++i)
	{
		for (decl j = 0; j < sizerc(gamma); ++j)
		{
			decl exp = new PcGiveExp(designs[i], {1, gamma[j], SimDesign::USE_CONSTANT_U} );

			exp.Autometrics(0.01);

			exp.Run(cm);
			delete exp;
		}
	}
	println("Total time:", timespan(time));
}