diff --git a/Trajectories/cost_function.py b/Trajectories/cost_function.py
index a176bc9a932ef10e122a6ead5b6d70467a200125..fdd2817977d3fdd588db587e375d47ae229d5965 100755
--- a/Trajectories/cost_function.py
+++ b/Trajectories/cost_function.py
@@ -7,14 +7,13 @@ Input:
 
 - "e_overestim.txt", expected to be in the current directory
 
-- the graph of segments without cost functions, "segments.gt" or
-  "segments.graphml", expected to be in the current directory
+- the graph of segments without cost functions
 
 - the SHPC
 
-Output: the graph of segments with cost functions,
-segments_cost_functions.gt or segments_cost_functions.graphml. The
-inst_eddies property of vertices is not modified by this script.
+Output: the graph of segments with cost functions
+
+The inst_eddies property of vertices is not modified by this script.
 
 """