Rewrite DynamicLazy.sample_xy

This commit is contained in:
2021-04-12 07:41:22 -05:00
parent bccf0e9860
commit 6f6cd3018b
12 changed files with 171 additions and 40 deletions

View File

@@ -98,7 +98,7 @@ class Instance(ABC, EnforceOverrides):
"""
return "default"
def get_constraint_features(self, cid: str) -> Optional[List[float]]:
def get_constraint_features(self, cid: str) -> List[float]:
return [0.0]
def get_constraint_category(self, cid: str) -> Optional[Hashable]: