Jspirt [sol.getCost()]

Is sol.getCost() the sum of getTransportTime of all routes?

I always thought that the sol.getCost() would be the sum of (getWaitingTime+getServiceTime+getTransportTime) of all routes.

Because actually we look for a solution that will provide us the minimal time (= cost) in total, including the service and waiting.