Goal of jsprit algorithm

Hi, can someone tell me what is by default the goal of jsprit algorithm? I mean what the algorithm is trying to minimize?
Does it try to minimize the distance or the time route?
Thanks

Exactly Tomas, when I asked this question, I was very new to jsprit.
So, the answer to my question is in the line 773 of the objective function.
More specifically, in the getTransportCost implementation of the VehicleRoutingTransportCostsMatrix class, in the line 262, we can see that the jsprit by default it takes into account (tries to minimize) both the distance as well as time of the route.