From 4eda72fdef0df2d35a8a535193dd38832a5e73f5 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Sun, 8 Dec 2024 08:07:48 -0500 Subject: [PATCH] remove x --- x.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 x.py diff --git a/x.py b/x.py deleted file mode 100644 index edf9144..0000000 --- a/x.py +++ /dev/null @@ -1,22 +0,0 @@ -import sys - -import motile -from motile.constraints import MaxChildren, MaxParents -from motile.costs import Appear, EdgeDistance, EdgeSelection, NodeSelection, Split -from motile.data import arlo_graph - -graph = arlo_graph() - -solver = motile.Solver(graph) -solver.add_costs(NodeSelection(weight=-1.0, attribute="score", constant=-100.0)) -solver.add_costs( - EdgeSelection(weight=0.5, attribute="prediction_distance", constant=-1.0) -) -solver.add_costs(EdgeDistance(position_attributes=("x",), weight=0.5)) -solver.add_costs(Appear(constant=200.0, attribute="score", weight=-1.0)) -solver.add_costs(Split(constant=100.0, attribute="score", weight=1.0)) - -solver.add_constraints(MaxParents(1)) -solver.add_constraints(MaxChildren(2)) -solver.solve(on_event=print, verbose=False) -sys.exit()