INNER CODE UNIT · Python
__init__
astroautomata/SymbolicRegression.jl · benchmark/analyze.py:8
def __init__(self):
self.data = {}
self.parent = None
self.children = []
def __repr__(self):
return f"Node with {len(self.children)} children: " + str(self.data)
# Pre-process with:
# Delete first two lines.
# :%s/╎/|/gce
# %g/^/exe "norm v$F|/[0-9]\<enter>hr|"
f = open("prof_v5.txt", "r")
lines = f.read().split("\n")
nlines = len(lines)