X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=README.txt;h=793710b449b89623719d0a2cb60c333eb21532b7;hb=a0f008effb41b45dd5ae2d51ec98a59cce81c7c3;hp=e814024c8d74e3ff04a16c2296711e38e55b27bc;hpb=9490c76beeea6435b0d51dc2dc1c4c11f4054a2c;p=mtp.git diff --git a/README.txt b/README.txt index e814024..793710b 100644 --- a/README.txt +++ b/README.txt @@ -10,15 +10,26 @@ paths to a constant K. * INSTALLATION -This source code should compile with any C++ compiler. Just run "make" -and execute the mtp executable. It should print the optimal detected -trajectories, and save into graph.dot the result graph and -trajectories in the dot syntax. You can produce a pdf from the latter -with +This source code should compile with any C++ compiler. Just execute + + make + ./mtp_example + +It will create a synthetic dummy example, save its description in +tracker.dat, and print the optimal detected trajectories. + +If you now execute + + ./mtp tracker.dat + +It will load the tracker.dat example, run the detection, save the +detected trajectories in result.trj, and the underlying graph with +occupied edges in graph.dot. You can produce a pdf from the latter +with the dot command from graphviz: dot < graph.dot -T pdf -o graph.pdf -* DESCRIPTION +* IMPLEMENTATION The two main classes are MTPGraph and Tracker.