From fbd06e0fde624134091f7f209eb30c3c507336ca Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Wed, 13 Sep 2023 14:35:10 +0200
Subject: [PATCH] Polish

---
 Trajectories/trajectories.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Trajectories/trajectories.py b/Trajectories/trajectories.py
index b4abed16..7742cf5c 100755
--- a/Trajectories/trajectories.py
+++ b/Trajectories/trajectories.py
@@ -96,6 +96,8 @@ expanded_traj = [] # an element of expanded_traj is a trajectory,
                    # represented by a list of instantaneous eddies
 
 if "cost_function" in g.edge_properties:
+    # Build my_subgraphs, a dictionary of nodes at each date:
+
     my_subgraphs = {}
 
     for v in g.vertices():
@@ -109,6 +111,8 @@ if "cost_function" in g.edge_properties:
             my_subgraphs[date_index] = [int(v)]
 
     for date_index in sorted(my_subgraphs):
+        # Consider all outgoing edges at a given date:
+
         edges = []
         all_cost = []
 
-- 
GitLab