|
| 1 | +use clap::Parser; |
1 | 2 | use robopoker::*; |
2 | 3 |
|
3 | 4 | #[tokio::main] |
4 | 5 | async fn main() { |
5 | | - // Behold! |
6 | 6 | crate::init(); |
7 | | - // The k-means earth mover's distance hand-clustering algorithm. |
8 | | - crate::clustering::Layer::learn(); |
9 | | - // Monte Carlo counter-factual regret minimization. External sampling, alternating regret updates, linear weighting schedules. |
10 | | - crate::mccfr::NLHE::train(); |
11 | | - // Let's upload the data to the database. |
12 | | - crate::save::Writer::publish().await.unwrap(); |
13 | | - // Let's support our api. |
14 | | - crate::analysis::Server::run().await.unwrap(); |
| 7 | + if crate::Args::parse().cluster { |
| 8 | + crate::clustering::Layer::learn(); |
| 9 | + } |
| 10 | + if crate::Args::parse().solve { |
| 11 | + crate::mccfr::NLHE::train(); |
| 12 | + } |
| 13 | + if crate::Args::parse().publish { |
| 14 | + crate::save::Writer::publish().await.unwrap(); |
| 15 | + } |
| 16 | + if crate::Args::parse().analyze { |
| 17 | + crate::analysis::Server::run().await.unwrap(); |
| 18 | + } |
15 | 19 | } |
16 | 20 |
|
17 | 21 | /* |
@@ -44,12 +48,12 @@ async fn main() { |
44 | 48 | 2015. Simultaneous Abstraction and Equilibrium Finding in Games. (http://www.cs.cmu.edu/~sandholm/simultaneous.ijcai15.pdf) In IJCAI. |
45 | 49 | 2015. Limited Lookahead in Imperfect-Information Games. (http://www.cs.cmu.edu/~sandholm/limited-look-ahead.ijcai15.pdf) IJCAI. |
46 | 50 | 2015. Faster First-Order Methods for Extensive-Form Game Solving. (http://www.cs.cmu.edu/~sandholm/faster.ec15.pdf) In EC. |
47 | | - 2015. Hierarchical Abstraction, Distributed Equilibrium Computation, and Post-Processing, with Application to a Champion No-Limit Texas Hold’em Agent. (http://www.cs.cmu.edu/~sandholm/hierarchical.aamas15.pdf) In AAMAS. |
| 51 | + 2015. Hierarchical Abstraction, Distributed Equilibrium Computation, and Post-Processing, with Application to a Champion No-Limit Texas Hold'em Agent. (http://www.cs.cmu.edu/~sandholm/hierarchical.aamas15.pdf) In AAMAS. |
48 | 52 | 2015. Discretization of Continuous Action Spaces in Extensive-Form Games. (http://www.cs.cmu.edu/~sandholm/discretization.aamas15.fromACM.pdf) In AAMAS. |
49 | 53 | 2015. Endgame Solving in Large Imperfect-Information Games. (http://www.cs.cmu.edu/~sandholm/endgame.aamas15.fromACM.pdf) In AAMAS. |
50 | 54 | 2014. Extensive-Form Game Abstraction With Bounds. (http://www.cs.cmu.edu/~sandholm/extensiveGameAbstraction.ec14.pdf) In EC. |
51 | 55 | 2014. Regret Transfer and Parameter Optimization. (http://www.cs.cmu.edu/~sandholm/regret_transfer.aaai14.pdf) In AAAI. |
52 | | -+ 2014. Potential-Aware Imperfect-Recall Abstraction with Earth Mover’s Distance in Imperfect-Information Games. (http://www.cs.cmu.edu/~sandholm/potential-aware_imperfect-recall.aaai14.pdf) In AAAI. |
| 56 | ++ 2014. Potential-Aware Imperfect-Recall Abstraction with Earth Mover's Distance in Imperfect-Information Games. (http://www.cs.cmu.edu/~sandholm/potential-aware_imperfect-recall.aaai14.pdf) In AAAI. |
53 | 57 | + 2013. Action Translation in Extensive-Form Games with Large Action Spaces: Axioms, Paradoxes, and the Pseudo-Harmonic Mapping. (http://www.cs.cmu.edu/~sandholm/reverse%20mapping.ijcai13.pdf) In IJCAI. |
54 | 58 | + 2013. A Fast and Optimal Hand Isomorphism Algorithm. (https://www.cs.cmu.edu/~waugh/publications/isomorphism13.pdf). In AAAI. |
55 | 59 | 2012. Lossy Stochastic Game Abstraction with Bounds. (http://www.cs.cmu.edu/~sandholm/lossyStochasticGameAbstractionWBounds.ec12.pdf) In EC. |
|
0 commit comments