Update super cores
This commit is contained in:
@@ -10,6 +10,9 @@ import numpy as np
|
||||
|
||||
from typing import Optional
|
||||
|
||||
|
||||
__all__ = ["_EPS", "Space", "Categorical", "Integer", "Continuous"]
|
||||
|
||||
_EPS = 1e-9
|
||||
|
||||
|
||||
@@ -54,6 +57,10 @@ class Categorical(Space):
|
||||
), "default >= {:}".format(len(self._candidates))
|
||||
assert len(self) > 0, "Please provide at least one candidate"
|
||||
|
||||
@property
|
||||
def candidates(self):
|
||||
return self._candidates
|
||||
|
||||
@property
|
||||
def determined(self):
|
||||
if len(self) == 1:
|
||||
|
Reference in New Issue
Block a user