Skip to content

Commit

Permalink
Changed Terminal type
Browse files Browse the repository at this point in the history
  • Loading branch information
pcanelas committed Oct 25, 2024
1 parent a94fc6b commit 6f0982c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/stl/stl.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def evaluate(self, X):

# Terminal class for Boolean literal
@dataclass
class BooleanTerminal(STLFormula):
class BooleanTerminal(ABC):
value: bool

def evaluate(self, X):
Expand Down Expand Up @@ -167,6 +167,7 @@ def main():
# Execute the GP search
best_individual = gp.search()
print("Best individual found:")
print()
print(best_individual)


Expand Down

0 comments on commit 6f0982c

Please sign in to comment.