com.github.esrrhs.majiang_algorithm.AITableJian Maven / Gradle / Ivy
package com.github.esrrhs.majiang_algorithm;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;
/**
* Created by bjzhaoxin on 2017/11/17.
*/
public class AITableJian
{
public static ConcurrentHashMap> table = new ConcurrentHashMap<>();
public static String ziname[] = new String[]
{ "中", "发", "白" };
public static void gen()
{
AICommon.table = table;
AICommon.N = 3;
AICommon.NAME = "jian";
AICommon.CARD = ziname;
AICommon.huLian = false;
AICommon.baseP = 12.d / 136;
AICommon.gen();
}
public static void load()
{
table.clear();
AICommon.table = table;
AICommon.N = 3;
AICommon.NAME = "jian";
AICommon.CARD = ziname;
AICommon.huLian = false;
AICommon.baseP = 12.d / 136;
AICommon.load();
}
public static void load(List lines)
{
table.clear();
AICommon.table = table;
AICommon.N = 3;
AICommon.NAME = "jian";
AICommon.CARD = ziname;
AICommon.huLian = false;
AICommon.baseP = 12.d / 136;
AICommon.load(lines);
}
}