C# 클래스 GR.Gambling.Blackjack.BonusPairsAgent

상속: IAgent
파일 보기 프로젝트 열기: alexhanh/Botting-Library 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
betting_system GR.Gambling.Blackjack.Betting.BettingSystem
current_bet int
ev_cutoff double
game_logger GameLogger
max_bet int
max_splits int
min_bet int
shoe Shoe
shoe_ev double
split_count int

공개 메소드들

메소드 설명
Bet ( int roll_before ) : int
BonusPairsAgent ( int min_bet, int max_bet, double ev_cutoff, BettingSystem betting_system ) : System
GetAction ( CardSet seen_cards, Card dealer_upcard, CardSet player_hands, int active_hand, List available_actions ) : ActionType
GetActions ( CardSet seen_cards, Card dealer_upcard, CardSet player_hands, int active_hand, List available_actions ) : List
ResetShoe ( bool forced ) : bool
RoundOver ( CardSet seen_cards, CardSet dealer_hand, CardSet player_hands, long game_id, int roll_after ) : void
TakeInsurance ( CardSet seen_cards ) : bool
ValidateActions ( CardSet active_hand, List available_actions ) : void

비공개 메소드들

메소드 설명
EvaluateEV ( ) : void
ExpectedMoney ( Hand dealer, Hand player ) : int
GetActionEV ( Shoe tmp_shoe, CardSet active_hand, ActionType action, Card dealer_upcard ) : double
InitializeRound ( ) : void

메소드 상세

Bet() 공개 메소드

public Bet ( int roll_before ) : int
roll_before int
리턴 int

BonusPairsAgent() 공개 메소드

public BonusPairsAgent ( int min_bet, int max_bet, double ev_cutoff, BettingSystem betting_system ) : System
min_bet int
max_bet int
ev_cutoff double
betting_system GR.Gambling.Blackjack.Betting.BettingSystem
리턴 System

GetAction() 공개 메소드

public GetAction ( CardSet seen_cards, Card dealer_upcard, CardSet player_hands, int active_hand, List available_actions ) : ActionType
seen_cards CardSet
dealer_upcard Card
player_hands CardSet
active_hand int
available_actions List
리턴 ActionType

GetActions() 공개 메소드

public GetActions ( CardSet seen_cards, Card dealer_upcard, CardSet player_hands, int active_hand, List available_actions ) : List
seen_cards CardSet
dealer_upcard Card
player_hands CardSet
active_hand int
available_actions List
리턴 List

ResetShoe() 공개 메소드

public ResetShoe ( bool forced ) : bool
forced bool
리턴 bool

RoundOver() 공개 메소드

public RoundOver ( CardSet seen_cards, CardSet dealer_hand, CardSet player_hands, long game_id, int roll_after ) : void
seen_cards CardSet
dealer_hand CardSet
player_hands CardSet
game_id long
roll_after int
리턴 void

TakeInsurance() 공개 메소드

public TakeInsurance ( CardSet seen_cards ) : bool
seen_cards CardSet
리턴 bool

ValidateActions() 공개 메소드

public ValidateActions ( CardSet active_hand, List available_actions ) : void
active_hand CardSet
available_actions List
리턴 void

프로퍼티 상세

betting_system 보호되어 있는 프로퍼티

protected BettingSystem,GR.Gambling.Blackjack.Betting betting_system
리턴 GR.Gambling.Blackjack.Betting.BettingSystem

current_bet 보호되어 있는 프로퍼티

protected int current_bet
리턴 int

ev_cutoff 보호되어 있는 프로퍼티

protected double ev_cutoff
리턴 double

game_logger 보호되어 있는 프로퍼티

protected GameLogger,GR.Gambling.Blackjack game_logger
리턴 GameLogger

max_bet 보호되어 있는 프로퍼티

protected int max_bet
리턴 int

max_splits 보호되어 있는 프로퍼티

protected int max_splits
리턴 int

min_bet 보호되어 있는 프로퍼티

protected int min_bet
리턴 int

shoe 보호되어 있는 프로퍼티

protected Shoe,GR.Gambling.Blackjack shoe
리턴 Shoe

shoe_ev 보호되어 있는 프로퍼티

protected double shoe_ev
리턴 double

split_count 보호되어 있는 프로퍼티

protected int split_count
리턴 int