[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] CarFollowingModels functions call graph
|
Hello,
my suggestion is to use a slightly different syntax:
either use the $(...) function, the backticks are no longer
recommended:
grep -i "\.followSpeed(" $(find src -name "*.cpp" -o -name
"*.h")
or find with xargs (my linux favorite)
find src -name "*.cpp" -o -name "*.h" | xargs grep -i
"\.followSpeed("
resp.
find src -name "*.cpp" -o -name "*.h" | xargs grep -i
"\.followSpeed(" | grep -v lcmodels
Greetings, Harald
Am 25.03.20 um 07:42 schrieb Jakob
Erdmann:
Hello,
did you try searching the source code?
I recommend
grep -i "\.followSpeed(" `find src -name "*.cpp" -o -name
"*.h"
and
grep -i "\.followSpeed(" `find src -name "*.cpp" -o -name
"*.h"` | grep -v lcmodels
regards,
Jakob
Am Di., 24. März 2020 um
15:41 Uhr schrieb Traboulsi, Abdullah <
at666@xxxxxxxx>:
Hi,
I am trying to trace the call of functions defined in
the car following model (e.g. Smart_SK) such as the
function of follow Speed.
I would like to understand how these car follow models
modify the behavior of vehicle movement using these
functions, and from where they are called.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user