Remove commas from decision tree's enums

Commas were causing enum values to be tuples instead of integers.
This commit is contained in:
Michał Czekański 2020-05-23 23:47:36 +02:00
parent c4809373a0
commit 05d28c4f5b
3 changed files with 7 additions and 7 deletions

View File

@ -7,6 +7,6 @@ class DistFromObject(Enum):
""" """
LT_3 = 0, LT_3 = 0
GE_3_LT_8 = 1, GE_3_LT_8 = 1
GE_8 = 2 GE_8 = 2

View File

@ -2,7 +2,7 @@ from enum import Enum
class PlayerStatsValue(Enum): class PlayerStatsValue(Enum):
ZERO_TO_QUARTER = 0, ZERO_TO_QUARTER = 0
QUARTER_TO_HALF = 1, QUARTER_TO_HALF = 1
HALF_TO_THREE_QUARTERS = 2, HALF_TO_THREE_QUARTERS = 2
THREE_QUARTERS_TO_FULL = 3 THREE_QUARTERS_TO_FULL = 3

View File

@ -6,6 +6,6 @@ class SurvivalClassification(Enum):
For example food classification means that player should go for food. For example food classification means that player should go for food.
""" """
FOOD = 0, FOOD = 0
WATER = 1, WATER = 1
REST = 2 REST = 2