new MCTSBotFactory(
"Standard Bot",
WekaRegressionModelFactory.createForZip("org/cspoker/client/bots/bot/search/opponentmodel/weka/models/model1.zip", config),
new SamplingToFunctionSelector(treshold1,new UCTSelector(C)),
new SamplingSelector(),
new MaxValueSelector(),
new MCTSBucketShowdownNode.Factory(),
new MixedBackPropStrategy.Factory(
treshold2,
new SampleWeightedBackPropStrategy.Factory(),
new MaxDistributionBackPropStrategy.Factory()
),
new StochasticUniversalSampler(),
time
),
new MCTSBotFactory(
"MaxDistribution Bot",
WekaRegressionModelFactory.createForZip("org/cspoker/client/bots/bot/search/opponentmodel/weka/models/model1.zip", config),
new SamplingToFunctionSelector(treshold1,new UCTPlusSelector(C, C2)),
new SamplingSelector(),
new MaxValueSelector(),
new MCTSBucketShowdownNode.Factory(),
new MixedBackPropStrategy.Factory(
treshold2,
new SampleWeightedBackPropStrategy.Factory(),
new MaxDistributionBackPropStrategy.Factory()
),
new StochasticUniversalSampler(),
time
)
}
);
}else if(args[0].equals("samples")){
int p = Integer.parseInt(args[1]);
int f = Integer.parseInt(args[2]);
int t = Integer.parseInt(args[3]);
int r = Integer.parseInt(args[4]);
int C = Integer.parseInt(args[5]);
double C2 = Double.parseDouble(args[6]);
int treshold1 = Integer.parseInt(args[7]);
int treshold2 = Integer.parseInt(args[8]);
new BotRunner(
new EmbeddedCSPokerServer(),
new BotFactory[] {
new FixedSampleMCTSBotFactory(
"Standard Bot",
WekaRegressionModelFactory.createForZip("org/cspoker/client/bots/bot/search/opponentmodel/weka/models/model1.zip", config),
new SamplingToFunctionSelector(treshold1,new UCTSelector(C)),
new SamplingSelector(),
new MaxValueSelector(),
new MCTSBucketShowdownNode.Factory(),
new MixedBackPropStrategy.Factory(
treshold2,
new SampleWeightedBackPropStrategy.Factory(),
new MaxDistributionBackPropStrategy.Factory()
),
new StochasticUniversalSampler(),
p,f,t,r
),
new FixedSampleMCTSBotFactory(
"MaxDistribution Bot",
WekaRegressionModelFactory.createForZip("org/cspoker/client/bots/bot/search/opponentmodel/weka/models/model1.zip", config),
new SamplingToFunctionSelector(treshold1,new UCTPlusSelector(C, C2)),
new SamplingSelector(),
new MaxValueSelector(),
new MCTSBucketShowdownNode.Factory(),
new MixedBackPropStrategy.Factory(
treshold2,
new SampleWeightedBackPropStrategy.Factory(),
new MaxDistributionBackPropStrategy.Factory()