From 11bab9715e6f68c3d90b4ba04a3b2e54f43c06a3 Mon Sep 17 00:00:00 2001 From: Niclas Dobbertin Date: Fri, 18 Aug 2023 10:23:47 +0200 Subject: procedure randomisation --- master_thesis/elio_procedures.py | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 master_thesis/elio_procedures.py (limited to 'master_thesis/elio_procedures.py') diff --git a/master_thesis/elio_procedures.py b/master_thesis/elio_procedures.py deleted file mode 100644 index cd4848e..0000000 --- a/master_thesis/elio_procedures.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 - - -class Procedure: - pass - - -class Variable: - def __init__(self, name: str, subscript: int = 0): - self.name = name - self.subscript = subscript - - - def __str__(self): - return f"{self.name}_{self.subscript}" - - def get_result(self, Variables: dict): - if not self.subscript: - return Variables[self.name] - else: - return Variables - -x = Variable("solid", 2) -print(x) -- cgit v1.2.3