Remove commas from decision tree's enums
Commas were causing enum values to be tuples instead of integers.
This commit is contained in:
parent
c4809373a0
commit
05d28c4f5b
@ -7,6 +7,6 @@ class DistFromObject(Enum):
|
||||
|
||||
"""
|
||||
|
||||
LT_3 = 0,
|
||||
GE_3_LT_8 = 1,
|
||||
LT_3 = 0
|
||||
GE_3_LT_8 = 1
|
||||
GE_8 = 2
|
||||
|
@ -2,7 +2,7 @@ from enum import Enum
|
||||
|
||||
|
||||
class PlayerStatsValue(Enum):
|
||||
ZERO_TO_QUARTER = 0,
|
||||
QUARTER_TO_HALF = 1,
|
||||
HALF_TO_THREE_QUARTERS = 2,
|
||||
ZERO_TO_QUARTER = 0
|
||||
QUARTER_TO_HALF = 1
|
||||
HALF_TO_THREE_QUARTERS = 2
|
||||
THREE_QUARTERS_TO_FULL = 3
|
||||
|
@ -6,6 +6,6 @@ class SurvivalClassification(Enum):
|
||||
For example food classification means that player should go for food.
|
||||
"""
|
||||
|
||||
FOOD = 0,
|
||||
WATER = 1,
|
||||
FOOD = 0
|
||||
WATER = 1
|
||||
REST = 2
|
||||
|
Loading…
Reference in New Issue
Block a user