tianyiq / doudizhu-mcts Goto Github PK
View Code? Open in Web Editor NEWAI for the Chinese card game Doudizhu
AI for the Chinese card game Doudizhu
typedef double ProbType; // used only in the inference part
namespace PARA{ // 核心参数
constexpr bool useHeuris=1,useInference=0;
constexpr float c=13.274828;
constexpr float SoverD_B=6.646546,SoverD_E=1.417460; // B * E^{ratio_of_cards_played}
constexpr float iniWeight_B=0.015963,iniWeight_E=0.404209; // B * S * E^{ratio_of_cards_played}
constexpr float structWeight=8.933963,playedWeight=0.421146; // weights in utility func
constexpr ProbType utilityToProb_E=2607.789307; // E^{winProb/base}
constexpr float inferenceTL=0.150000;
constexpr bool default0=0;
constexpr float myCrd_D=16.047952,myStt_D=8.880167;
constexpr float levelWeight_E=1.145248; // card of level i has weight E^i
};
请问这些参数是怎么得来的呢?
请问你的程序编译之后怎么运行呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.