C# Класс Blackjack.ActionTable

A look-up table for a Blackjack strategy. This is useful in simulating strategies that do not rely on the count of the deck. Given a hand value and dealer card, it will simply look up the appropriate action to take.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
ACTION_STRINGS string[]
SHORT_RANK_STRINGS string[]
Table ].ActionTypes[

Открытые методы

Метод Описание
ActionTable ( ) : System
ActionTable ( ActionTypes table ) : System
FromStrategy ( IBlackjackPlayer strategy ) : ActionTable
GetAction ( HandInfo info ) : ActionTypes
ToString ( ) : string
this ( int x, int y ) : ActionTypes

Описание методов

ActionTable() публичный Метод

public ActionTable ( ) : System
Результат System

ActionTable() публичный Метод

public ActionTable ( ActionTypes table ) : System
table ActionTypes
Результат System

FromStrategy() публичный статический Метод

public static FromStrategy ( IBlackjackPlayer strategy ) : ActionTable
strategy IBlackjackPlayer
Результат ActionTable

GetAction() публичный Метод

public GetAction ( HandInfo info ) : ActionTypes
info HandInfo
Результат ActionTypes

ToString() публичный Метод

public ToString ( ) : string
Результат string

this() публичный Метод

public this ( int x, int y ) : ActionTypes
x int
y int
Результат ActionTypes

Описание свойств

ACTION_STRINGS публичное статическое свойство

public static string[] ACTION_STRINGS
Результат string[]

SHORT_RANK_STRINGS публичное статическое свойство

public static string[] SHORT_RANK_STRINGS
Результат string[]

Table публичное свойство

public ActionTypes[,] Table
Результат ].ActionTypes[