minimal code for part 1.

This commit is contained in:
Pim Nelissen
2025-10-17 19:29:12 +02:00
parent 4c788b746e
commit 6a38ca47ce
3 changed files with 69 additions and 0 deletions

11
Link.py Normal file
View File

@ -0,0 +1,11 @@
class Link:
def __init__(self, direction):
"""
An incompressible link of fixed length a and either a positive or
negative direction.
Parameters:
direction (int) The direction. Must be 1 or -1.
"""
self.direction = direction