All Packages Class Hierarchy This Package Previous Next Index
Class com.lotspiech.poker.strategy.LogRules
java.lang.Object
|
+----com.lotspiech.poker.strategy.Rules
|
+----com.lotspiech.poker.strategy.LogRules
- public class LogRules
- extends Rules
This is for compatibility with the old C "hands.log"
rules file.
Copyright 2001, 2002 by Jeffrey B. Lotspiech. This program is open source;
it is licensed under the Common Public License Version 0.5.
- Author:
- Jeffrey B. Lotspiech
-
COPYRIGHT
-
-
index
-
-
log
-
-
table
-
-
LogRules(String)
- LogRules constructor comment.
-
bestDiscard(HandWithDiscard)
- This method was created in VisualAge.
-
getLastRule()
- This method was created in VisualAge.
COPYRIGHT
private static final String COPYRIGHT
log
private byte log[]
index
private int index
table
private int table[]
LogRules
public LogRules(String filename) throws IOException, PatternSyntaxException
- LogRules constructor comment.
- Parameters:
- in0 - java.io.Reader
- Throws: IOException
- The exception description.
- Throws: PatternSyntaxException
- The exception description.
bestDiscard
protected void bestDiscard(HandWithDiscard hand) throws Exception
- This method was created in VisualAge.
- Parameters:
- hand - com.lotspiech.poker.HandWithDiscard
- Overrides:
- bestDiscard in class Rules
getLastRule
protected String getLastRule()
- This method was created in VisualAge.
- Returns:
- java.lang.String
- Overrides:
- getLastRule in class Rules
All Packages Class Hierarchy This Package Previous Next Index