public enum ScoreType extends Enum<ScoreType>
Enum Constant and Description |
---|
EXACT
PV-node score; Knuth's type 1.
|
LOWER_BOUND
All-node score; Knuth's type 3.
|
MATE
Check mate score.
|
UPPER_BOUND
Cut-node score; Knuth's type 2.
|
Modifier and Type | Field and Description |
---|---|
byte |
ind |
Modifier and Type | Method and Description |
---|---|
static ScoreType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScoreType EXACT
public static final ScoreType UPPER_BOUND
public static final ScoreType LOWER_BOUND
public static final ScoreType MATE
public static ScoreType[] values()
for (ScoreType c : ScoreType.values()) System.out.println(c);
public static ScoreType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.